12 lines
340 B
TypeScript
12 lines
340 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import { fileURLToPath } from "node:url";
|
|
export default defineConfig({
|
|
resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) } },
|
|
test: {
|
|
environment: "jsdom",
|
|
include: ["test/*.ui.test.tsx"],
|
|
setupFiles: ["test/setup.ts"],
|
|
restoreMocks: true,
|
|
},
|
|
});
|