import { defineConfig } from "vitest/config"; // Server tests live next to the code under test (src/**/*.test.ts). They run against // a fresh in-memory SQLite from @parking/db/testing — never the live parking.sqlite. // A test signing key is set here so the SoftwareSigner/buildSigner path works without // a real .env (the value is irrelevant — tests assert self-consistency, not secrecy). export default defineConfig({ test: { include: ["src/**/*.test.ts"], env: { EVENT_SIGNING_KEY: "test-event-signing-key-0123456789", JWT_SECRET: "test-jwt-secret-0123456789abcdef", }, }, });