Repository Public
1import { defineConfig } from "vitest/config";2import path from "node:path";34export default defineConfig({5 test: {6 include: ["tests/**/*.test.ts"],7 fileParallelism: false,8 testTimeout: 30_000,9 env: {10 DATABASE_URL: process.env.TEST_DATABASE_URL ?? "postgres://127.0.0.1:5432/sp_calendar_test",11 APP_SECRET: "test-secret-test-secret-test-secret-0123456789",12 APP_URL: "http://localhost:8660",13 MAIL_TRANSPORT: "test",14 NODE_ENV: "test",15 },16 },17 resolve: { alias: { "@": path.resolve(import.meta.dirname, "src") } },18});19