17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
|
|
import { defineConfig } from "vitest/config";
|
||
|
|
import { fileURLToPath } from "node:url";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
environment: "happy-dom",
|
||
|
|
globals: true,
|
||
|
|
include: ["tests/unit/**/*.test.ts"],
|
||
|
|
},
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
"~": fileURLToPath(new URL("./", import.meta.url)),
|
||
|
|
"#app": fileURLToPath(new URL("./node_modules/nuxt/dist/app", import.meta.url)),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|