Homescreen testen #672
Annotations
2 errors and 3 warnings
Run Tests:
frontend/src/components/home/listcontent/DeadlineItem.vue#L29
Error: [vitest] No "useUserProjectSubmissionsQuery" export is defined on the "@/queries/Submission" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock("@/queries/Submission", async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ setup src/components/home/listcontent/DeadlineItem.vue:29:31
❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:195:19
❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7569:25
❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7530:36
❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5861:7
❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5827:9
❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5306:11
❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5971:11
|
Run Tests
Process completed with exit code 1.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "pytest-coverage-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading