15 lines
285 B
TypeScript
15 lines
285 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "happy-dom",
|
|
include: ["src/**/*.{test,spec}.{ts,tsx}"],
|
|
},
|
|
});
|