15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
globalSetup: ["./tests/setup/globalSetup.ts"],
|
|
fileParallelism: false,
|
|
},
|
|
});
|