test(runtime-vapor): add slots test case for complex level slot #8
Annotations
6 errors and 1 warning
Run unit tests:
packages/runtime-core/src/apiSetupHelpers.ts#L397
TypeError: Cannot read properties of null (reading 'setupContext')
❯ getContext packages/runtime-core/src/apiSetupHelpers.ts:397:12
❯ Module.useSlots packages/runtime-core/src/apiSetupHelpers.ts:385:10
❯ setup packages/runtime-vapor/__tests__/componentSlots.spec.ts:355:25
❯ Module.callWithErrorHandling packages/runtime-core/src/errorHandling.ts:76:19
❯ Module.createComponent packages/runtime-vapor/src/component.ts:184:7
❯ setup packages/runtime-vapor/__tests__/componentSlots.spec.ts:379:18
❯ Module.callWithErrorHandling packages/runtime-core/src/errorHandling.ts:76:19
❯ Module.createComponent packages/runtime-vapor/src/component.ts:184:7
❯ mountApp packages/runtime-vapor/src/apiCreateApp.ts:31:20
❯ mount packages/runtime-core/src/apiCreateApp.ts:400:28
|
Run unit tests:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: useContext() called without active instance.
- [Vue warn]: Unhandled error during execution of setup function
- [Vue warn]: Unhandled error during execution of setup function
❯ scripts/setup-vitest.ts:101:11
|
Run unit tests:
packages/runtime-core/src/apiSetupHelpers.ts#L397
TypeError: Cannot read properties of null (reading 'setupContext')
❯ getContext packages/runtime-core/src/apiSetupHelpers.ts:397:12
❯ Module.useSlots packages/runtime-core/src/apiSetupHelpers.ts:385:10
❯ setup packages/runtime-vapor/__tests__/componentSlots.spec.ts:424:25
❯ Module.callWithErrorHandling packages/runtime-core/src/errorHandling.ts:76:19
❯ Module.createComponent packages/runtime-vapor/src/component.ts:184:7
❯ setup packages/runtime-vapor/__tests__/componentSlots.spec.ts:448:18
❯ Module.callWithErrorHandling packages/runtime-core/src/errorHandling.ts:76:19
❯ Module.createComponent packages/runtime-vapor/src/component.ts:184:7
❯ mountApp packages/runtime-vapor/src/apiCreateApp.ts:31:20
❯ mount packages/runtime-core/src/apiCreateApp.ts:400:28
|
Run unit tests:
scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings:
- [Vue warn]: useContext() called without active instance.
- [Vue warn]: Unhandled error during execution of setup function
- [Vue warn]: Unhandled error during execution of setup function
❯ scripts/setup-vitest.ts:101:11
|
Run unit tests:
packages/runtime-vapor/__tests__/componentSlots.spec.ts#L525
AssertionError: expected 'dynamic default<!--slot--><!--slot-->' to be 'default<!--slot--><!--slot-->' // Object.is equality
Expected: "default<!--slot--><!--slot-->"
Received: "dynamic default<!--slot--><!--slot-->"
❯ packages/runtime-vapor/__tests__/componentSlots.spec.ts:525:22
|
Run unit tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading