Prisma 7.10 mit Postgres-Adapter, 23 Modelle inklusive Rechnungen mit Positionen, Seed fuer Administrator, Warnregeln und Demo-Daten, Testdatenbank fuer Vitest. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
464 B
TypeScript
16 lines
464 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
|
|
},
|
|
test: {
|
|
include: ["tests/**/*.test.ts", "src/**/*.test.ts"],
|
|
environment: "node",
|
|
globalSetup: ["tests/global-setup.ts"],
|
|
// Datenbanktests teilen sich eine Datenbank und dürfen sich nicht überholen.
|
|
fileParallelism: false,
|
|
},
|
|
});
|