glowing-fiesta/tests/setup.ts
Liviu Burcusel 3b58a25ccf
Added vitest (#5)
* Moved eslint and @nuxt/eslint to devDependencies

* Added vitest to project and 1 test

* Tweaked Sonar workflow in order to run tests and coverage

* Removed offending config line
2025-10-24 17:20:05 +02:00

10 lines
160 B
TypeScript

import { vi } from "vitest";
Object.defineProperty(global, "import", {
value: {
meta: {
glob: vi.fn(() => ({})),
},
},
writable: true,
});