chore: update #27
ci.yml
on: push
test
/
unit-test
50s
test
/
unit-test-windows
1m 10s
test
/
e2e-test
1m 8s
test
/
lint-and-test-dts
54s
Annotations
10 errors
Unhandled error:
packages/runtime-core/src/renderer.ts#L2335
TypeError: Cannot read properties of null (reading 'shapeFlag')
❯ getNextHostNode packages/runtime-core/src/renderer.ts:2335:15
❯ getNextHostNode packages/runtime-core/src/renderer.ts:2336:14
❯ Object.resolve packages/runtime-core/src/components/Suspense.ts:569:22
❯ packages/runtime-core/src/components/Suspense.ts:738:22
This error originated in "packages/runtime-core/__tests__/hydration.spec.ts" 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 "hydrate safely when property used by deep nested async setup changed before render". 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:
packages/runtime-core/src/renderer.ts#L2335
TypeError: Cannot read properties of null (reading 'shapeFlag')
❯ getNextHostNode packages/runtime-core/src/renderer.ts:2335:15
❯ getNextHostNode packages/runtime-core/src/renderer.ts:2336:14
❯ Object.resolve packages/runtime-core/src/components/Suspense.ts:569:22
❯ packages/runtime-core/src/components/Suspense.ts:738:22
❯ runNextTicks node:internal/process/task_queues:60:5
❯ processTimers node:internal/timers:516:9
This error originated in "packages/runtime-core/__tests__/hydration.spec.ts" 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 "packages/runtime-core/__tests__/hydration.spec.ts". 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.
|
packages/runtime-core/__tests__/apiAsyncComponent.spec.ts > api: defineAsyncComponent > with suspense:
packages/runtime-core/__tests__/apiAsyncComponent.spec.ts#L468
AssertionError: expected 'resolved' to be '<div>resolved & resolved</div>' // Object.is equality
Expected: "<div>resolved & resolved</div>"
Received: "resolved"
❯ packages/runtime-core/__tests__/apiAsyncComponent.spec.ts:468:34
|
packages/runtime-core/__tests__/apiAsyncComponent.spec.ts > api: defineAsyncComponent > suspense with error handling:
packages/runtime-core/__tests__/apiAsyncComponent.spec.ts#L524
AssertionError: expected '<!---->' to be '<div><!----> & <!----></div>' // Object.is equality
Expected: "<div><!----> & <!----></div>"
Received: "<!---->"
❯ packages/runtime-core/__tests__/apiAsyncComponent.spec.ts:524:34
|
packages/runtime-core/__tests__/hydration.spec.ts > SSR hydration > hydrate safely when property used by async setup changed before render:
packages/runtime-core/__tests__/hydration.spec.ts#L1187
Error: Snapshot `SSR hydration > hydrate safely when property used by async setup changed before render 2` mismatched
Expected: ""<main><h1 prop="world">Async component</h1><span></span></main>""
Received: ""<main><h1 prop="hello">Async component</h1><span></span></main>""
❯ packages/runtime-core/__tests__/hydration.spec.ts:1187:33
|
packages/runtime-core/__tests__/hydration.spec.ts > SSR hydration > hydrate safely when property used by deep nested async setup changed before render:
packages/runtime-core/__tests__/hydration.spec.ts#L1256
Error: Snapshot `SSR hydration > hydrate safely when property used by deep nested async setup changed before render 2` mismatched
Expected: ""<main><h1 prop="world">Async component</h1><span></span></main>""
Received: ""<main><h1 prop="hello">Async component</h1><span></span></main>""
❯ packages/runtime-core/__tests__/hydration.spec.ts:1256:33
|
packages/runtime-core/__tests__/components/Suspense.spec.ts > Suspense > nested suspense (parent resolves first):
packages/runtime-core/__tests__/components/Suspense.spec.ts#L654
AssertionError: expected '<div>async outer</div>' to be '<div><div>async outer</div><div>fallb…' // Object.is equality
Expected: "<div><div>async outer</div><div>fallback inner</div></div>"
Received: "<div>async outer</div>"
❯ packages/runtime-core/__tests__/components/Suspense.spec.ts:654:34
|
packages/runtime-core/__tests__/components/Suspense.spec.ts > Suspense > nested suspense (child resolves first):
packages/runtime-core/__tests__/components/Suspense.spec.ts#L725
AssertionError: expected '<div>async outer</div>' to be '<div><div>async outer</div><div>async…' // Object.is equality
Expected: "<div><div>async outer</div><div>async inner</div></div>"
Received: "<div>async outer</div>"
❯ packages/runtime-core/__tests__/components/Suspense.spec.ts:725:34
|
packages/runtime-core/__tests__/components/Suspense.spec.ts > Suspense > combined usage (nested async + nested suspense + multiple deps):
packages/runtime-core/__tests__/components/Suspense.spec.ts#L916
AssertionError: expected '<div>root async</div>' to be '<div><div>nested fallback</div><div>r…' // Object.is equality
Expected: "<div><div>nested fallback</div><div>root async</div></div>"
Received: "<div>root async</div>"
❯ packages/runtime-core/__tests__/components/Suspense.spec.ts:916:34
|
packages/runtime-core/__tests__/components/Suspense.spec.ts > Suspense > switching branches:
packages/runtime-core/__tests__/components/Suspense.spec.ts#L1009
AssertionError: expected '<div>foo nested</div>' to be '<div>foo<div>foo nested</div></div>' // Object.is equality
Expected: "<div>foo<div>foo nested</div></div>"
Received: "<div>foo nested</div>"
❯ packages/runtime-core/__tests__/components/Suspense.spec.ts:1009:34
|