Skip to content

Ensured and added keyboard navigation for public facing components #2842

Ensured and added keyboard navigation for public facing components

Ensured and added keyboard navigation for public facing components #2842

Triggered via push December 24, 2024 18:30
Status Failure
Total duration 1m 29s
Artifacts 1

unit-tests.yaml

on: push
Matrix: Unit Tests (App)
Matrix: Unit Tests (Frontend)
Publish to Code Climate
0s
Publish to Code Climate
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 16 warnings
tests/unit/views/housing/HousingView.spec.ts > HousingView.vue > renders: frontend/src/views/housing/HousingView.vue#L36
Error: [vitest] No "useRoute" export is defined on the "vue-router" 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(import("vue-router"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ setup src/views/housing/HousingView.vue:36:4 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7848:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7809:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5159:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5125:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4654:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5269:11
Unit Tests (Frontend) (18.x)
Process completed with exit code 1.
Unit Tests (Frontend) (20.x)
The job was canceled because "_18_x" failed.
tests/unit/views/housing/HousingView.spec.ts > HousingView.vue > renders: frontend/src/views/housing/HousingView.vue#L36
Error: [vitest] No "useRoute" export is defined on the "vue-router" 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(import("vue-router"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ setup src/views/housing/HousingView.vue:36:4 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7848:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7809:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5159:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5125:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4654:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5269:11
Unit Tests (Frontend) (20.x)
Process completed with exit code 1.
Unit Tests (Frontend) (22.x)
The job was canceled because "_18_x" failed.
tests/unit/views/housing/HousingView.spec.ts > HousingView.vue > renders: frontend/src/views/housing/HousingView.vue#L36
Error: [vitest] No "useRoute" export is defined on the "vue-router" 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(import("vue-router"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ setup src/views/housing/HousingView.vue:36:4 ❯ callWithErrorHandling node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19 ❯ setupStatefulComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7848:25 ❯ setupComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7809:36 ❯ mountComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5159:7 ❯ processComponent node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5125:9 ❯ patch node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4654:11 ❯ ReactiveEffect.componentUpdateFn [as fn] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5269:11
Unit Tests (Frontend) (22.x)
The operation was canceled.
Unit Tests (Frontend) (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests (Frontend) (18.x): frontend/src/utils/utils.ts#L126
Unexpected console statement
Unit Tests (Frontend) (18.x): frontend/src/utils/utils.ts#L128
Unexpected console statement
Unit Tests (Frontend) (20.x): frontend/src/utils/utils.ts#L126
Unexpected console statement
Unit Tests (Frontend) (20.x): frontend/src/utils/utils.ts#L128
Unexpected console statement
Unit Tests (App) (22.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests (App) (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests (Frontend) (22.x): frontend/src/utils/utils.ts#L126
Unexpected console statement
Unit Tests (Frontend) (22.x): frontend/src/utils/utils.ts#L128
Unexpected console statement
Unit Tests (App) (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
coverage-app Expired
255 KB