Repository navigation
Bump @codemirror/view from 6.43.0 to 6.43.6 #296
build.yml
on: pull_request
Build & Test
2m 10s
Sign, Notarize & Release
Annotations
10 errors and 1 warning
|
src/DiffPane.test.tsx > DiffPane > renders a single unified editor in inline mode:
src/DiffPane.test.tsx#L37
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
Received has type: Null
Received has value: null
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="diff-pane"
>
<div
class="diff-toolbar"
>
<button
aria-label="Inline diff"
aria-pressed="true"
class="tiny-icon-button tiny-icon-button--active"
title="Inline diff"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-rows3 lucide-rows-3"
fill="none"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M21 9H3"
/>
<path
d="M21 15H3"
/>
</svg>
</button>
<button
aria-label="Side-by-side diff"
aria-pressed="false"
class="tiny-icon-button "
title="Side-by-side diff"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-columns2 lucide-columns-2"
fill="none"
height="14"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="14"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M12 3v18"
/>
</svg>
</button>
</div>
<div
class="diff-host-wrapper"
>
<div
class="diff-host"
>
<div>
<div
aria-live="polite"
class="cm-announced"
/>
<div
class="cm-scroller"
tabindex="-1"
>
<div />
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
❯ src/DiffPane.test.tsx:37:53
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "resets the split ratio to 50 when commit mode is left, without unmounting". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "resets the split ratio to 50 when toggling away from side-by-side and back". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "resets the split ratio to 50 when toggling away from side-by-side and back". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "clamps the split ratio to 20-80". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "nudges the split ratio with the keyboard and applies it to the first pane's flex". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L128
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ src/DiffPane.tsx:128:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "shows the toolbar with the active mode marked and calls back on click". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L128
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ src/DiffPane.tsx:128:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "rebuilds the view when switching modes". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L118
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ new MergeView node_modules/@codemirror/merge/dist/index.js:1266:18
❯ src/DiffPane.tsx:118:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "renders two editors (original + modified panes) in side-by-side mode". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/DiffPane.tsx#L128
TypeError: state.facet(...).some is not a function
❯ new ViewState node_modules/@codemirror/view/dist/index.js:6230:60
❯ new EditorView node_modules/@codemirror/view/dist/index.js:7900:26
❯ src/DiffPane.tsx:128:27
This error originated in "src/DiffPane.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "renders a single unified editor in inline mode". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Build & Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|