Skip to content

package.json

package.json #360

Triggered via pull request January 22, 2025 20:07
Status Failure
Total duration 7m 7s
Artifacts

ci.yml

on: pull_request
setup-job
3s
setup-job
Matrix: build-check
Matrix: cypress-test
Matrix: linting
Matrix: unit-test
Fit to window
Zoom out
Zoom in

Annotations

5 errors
../tests/pages/dashboard.spec.ts: tests/setup.ts#L66
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ ../tests/setup.ts:66:25 Caused by: Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ utils/breadcrumbs.ts:3:31 ❯ app/router.options.ts:2:31 Caused by: TypeError: __vite_ssr_import_0__.defineStore is not a function ❯ stores/ui.ts:2:36 ❯ stores/account.ts:8:31
../tests/components/bcros/BcrosAddressDisplay.spec.ts: tests/setup.ts#L66
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ ../tests/setup.ts:66:25 Caused by: Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ utils/breadcrumbs.ts:3:31 ❯ app/router.options.ts:2:31 Caused by: TypeError: __vite_ssr_import_0__.defineStore is not a function ❯ stores/ui.ts:2:36 ❯ stores/account.ts:8:31
../tests/components/bcros/BcrosContactInfo.spec.ts: tests/setup.ts#L66
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ ../tests/setup.ts:66:25 Caused by: Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ utils/breadcrumbs.ts:3:31 ❯ app/router.options.ts:2:31 Caused by: TypeError: __vite_ssr_import_0__.defineStore is not a function ❯ stores/ui.ts:2:36 ❯ stores/account.ts:8:31
unit-test (20)
Process completed with exit code 1.
cypress-test (20)
Cypress tests: 6 failed