18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import { resolve } from "node:path";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "jsdom",
|
|
include: ["tests/unit/**/*.spec.{ts,tsx}", "tests/api/**/*.spec.ts"],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": resolve(__dirname, "src"),
|
|
},
|
|
},
|
|
esbuild: {
|
|
jsx: "automatic",
|
|
},
|
|
});
|