16 lines
392 B
TypeScript
16 lines
392 B
TypeScript
|
|
import { fileURLToPath } from "node:url";
|
||
|
|
import { defineConfig } from "vitest/config";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
resolve: {
|
||
|
|
alias: { "@": fileURLToPath(new URL("./", import.meta.url)) },
|
||
|
|
},
|
||
|
|
esbuild: { jsx: "automatic" },
|
||
|
|
test: {
|
||
|
|
environment: "node",
|
||
|
|
include: ["**/*.test.{ts,tsx}"],
|
||
|
|
exclude: ["node_modules/**", ".next/**"],
|
||
|
|
passWithNoTests: false,
|
||
|
|
},
|
||
|
|
});
|