Skip to content

Add the ability to push, replace, and reject within prop callback via `CallbackContext #788

Add the ability to push, replace, and reject within prop callback via `CallbackContext

Add the ability to push, replace, and reject within prop callback via `CallbackContext #788

Triggered via pull request November 28, 2024 18:57
Status Failure
Total duration 41s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Unhandled error: src/services/createCallbackContext.ts#L56
Error: Uncaught CallbackContextPushError ❯ push src/services/createCallbackContext.ts:56:11 ❯ props src/components/routerView.browser.spec.ts:526:13 ❯ src/services/createPropStore.ts:35:58 ❯ Module.getResponseAndError src/utilities/errors.ts:6:13 ❯ src/services/createPropStore.ts:35:32 ❯ getPrefetchProps src/services/createPropStore.ts:32:8 ❯ watch.immediate src/compositions/usePrefetching.ts:28:13 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ callWithAsyncErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:207:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { status: 'PUSH', to: [ 'routeC' ] } } This error originated in "src/components/routerView.browser.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 "src/components/routerView.browser.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.
Unit Tests
Process completed with exit code 1.