Homescreen testen #672
lint.yml
on: pull_request
Run linters
18s
Backend Unit Testing
26s
Frontend Unit Testing
42s
Pyright
13s
Annotations
2 errors and 15 warnings
tests/components/home/listcontent/DeadlineItem.spec.ts:
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
|
Frontend Unit Testing
Process completed with exit code 1.
|
Pyright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters:
frontend/src/queries/User.ts#L88
'_' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L88
'__' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L88
'uid' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L88
'ctx' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L149
'_' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L149
'__' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L149
'uid' is defined but never used
|
Run linters:
frontend/src/queries/User.ts#L149
'ctx' is defined but never used
|
Run linters:
frontend/src/views/CreateProjectView.vue#L173
'_' is defined but never used
|
Backend Unit Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
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/
|
Frontend Unit Testing
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/.
|
Frontend Unit Testing
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pytest-coverage-report
Expired
|
49.2 KB |
|