Skip to content

feat: add support for optional @nuxt/ui module and remove customCSS o… #5

feat: add support for optional @nuxt/ui module and remove customCSS o…

feat: add support for optional @nuxt/ui module and remove customCSS o… #5

Triggered via push September 5, 2025 07:49
Status Failure
Total duration 1m 33s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/module.test.ts > Bug LT Module > should register composables correctly: test/module.test.ts#L85
AssertionError: expected "spy" to be called with arguments: [ { name: 'useBugReport', …(1) } ] Number of calls: 0 ❯ test/module.test.ts:85:24
test/module.test.ts > Bug LT Module > should register components correctly: test/module.test.ts#L60
AssertionError: expected "spy" to be called with arguments: [ { name: 'BugReportButton', …(1) } ] Number of calls: 0 ❯ test/module.test.ts:60:26
test/module.test.ts > Bug LT Module > should have correct default options: test/module.test.ts#L29
AssertionError: expected { enabled: true, ui: true, …(8) } to deeply equal { enabled: true, autoShow: true, …(7) } - Expected + Received @@ -6,6 +6,7 @@ "enableScreenshot": true, "enabled": true, "maxConsoleLogs": 50, "position": "bottom-right", "theme": "auto", + "ui": true, } ❯ test/module.test.ts:29:29
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:206:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:185:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:154:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:130:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:103:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:83:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/module.ts#L91
Error: [vitest] No "installModule" export is defined on the "@nuxt/kit" 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("@nuxt/kit"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ VitestMocker.createError node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:284:17 ❯ Object.get node_modules/vitest/dist/chunks/execute.B7h3T_Hc.js:330:16 ❯ Object.setup src/module.ts:91:15 ❯ test/module.test.ts:58:12 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:155:11 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:26 ❯ node_modules/@vitest/runner/dist/chunk-hooks.js:1897:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/chunk-hooks.js:1863:10 ❯ runTest node_modules/@vitest/runner/dist/chunk-hooks.js:1574:12 This error originated in "test/module.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.