chore: fix test #2429
Annotations
9 errors
Run unit tests:
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts#L305
AssertionError: expected [ 'onBeforeMount', 'onMounted' ] to deeply equal [ 'onBeforeMount', …(5) ]
- Expected
+ Received
Array [
"onBeforeMount",
- "mid onBeforeMount",
- "child onBeforeMount",
- "child onMounted",
- "mid onMounted",
"onMounted",
]
❯ packages/runtime-vapor/__tests__/apiLifecycle.spec.ts:305:19
|
Run unit tests:
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts#L458
AssertionError: expected "spy" to be called 2 times, but got 0 times
❯ packages/runtime-vapor/__tests__/apiLifecycle.spec.ts:458:16
|
Run unit tests:
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts#L506
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ packages/runtime-vapor/__tests__/apiLifecycle.spec.ts:506:32
|
Run unit tests:
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts#L555
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ packages/runtime-vapor/__tests__/apiLifecycle.spec.ts:555:32
|
Run unit tests:
packages/runtime-vapor/__tests__/errorHandling.spec.ts#L48
AssertionError: expected "spy" to be called 2 times, but got 0 times
❯ packages/runtime-vapor/__tests__/errorHandling.spec.ts:48:16
|
Run unit tests:
packages/runtime-vapor/__tests__/errorHandling.spec.ts#L86
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ packages/runtime-vapor/__tests__/errorHandling.spec.ts:86:16
|
Run unit tests:
packages/runtime-vapor/__tests__/errorHandling.spec.ts#L115
AssertionError: expected "spy" to be called with arguments: [ Error: foo, 'mounted hook' ]
Received:
Number of calls: 0
❯ packages/runtime-vapor/__tests__/errorHandling.spec.ts:115:16
|
Run unit tests:
packages/runtime-vapor/__tests__/errorHandling.spec.ts#L151
AssertionError: expected "spy" to be called 2 times, but got 0 times
❯ packages/runtime-vapor/__tests__/errorHandling.spec.ts:151:16
|
Run unit tests
Process completed with exit code 1.
|
Loading