Files
shared-memory/apps/web/vitest.config.ts
T

19 lines
510 B
TypeScript
Raw Normal View History

import { defineConfig } from "vitest/config";
import { fileURLToPath } from "node:url";
export default defineConfig({
resolve: {
alias: {
"@": fileURLToPath(new URL("./", import.meta.url)),
},
},
test: {
environment: "node",
include: ["lib/**/*.test.ts", "app/**/*.test.ts"],
setupFiles: ["./vitest.setup.ts"],
// Integration tests share one Postgres database; running files in
// parallel would let them clobber each other's rows.
fileParallelism: false,
},
});