Skip to content

chore: fix test

chore: fix test #2429

Triggered via push December 1, 2024 09:21
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts > api: lifecycle hooks > lifecycle call order: 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
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts > api: lifecycle hooks > runs shared hook fn for each instance: 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
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts > api: lifecycle hooks > should trigger updated hooks across components. (parent -> child): 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
packages/runtime-vapor/__tests__/apiLifecycle.spec.ts > api: lifecycle hooks > should trigger updated hooks across components. (child -> parent): 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
packages/runtime-vapor/__tests__/errorHandling.spec.ts > error handling > propagation: 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
packages/runtime-vapor/__tests__/errorHandling.spec.ts > error handling > propagation stoppage: 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
packages/runtime-vapor/__tests__/errorHandling.spec.ts > error handling > async error handling: 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
packages/runtime-vapor/__tests__/errorHandling.spec.ts > error handling > error thrown in onErrorCaptured: 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
test / unit-test
Process completed with exit code 1.