15 lines
330 B
TypeScript
15 lines
330 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
include: ["tests/**/*.test.ts"]
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": new URL(".", import.meta.url).pathname,
|
|
"server-only": new URL("./tests/server-only-stub.ts", import.meta.url).pathname
|
|
}
|
|
}
|
|
});
|