package.json #360
Annotations
4 errors
Run unit tests:
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
|
Run unit tests:
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
|
Run unit tests:
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
|
Run unit tests
Process completed with exit code 1.
|
Loading