lilith-platform.live/codebase/@features/my/backend-api/vitest.config.ts
autocommit f4c46f6d5b chore(backend-api): 🔧 Update Vitest config for backend API test environment
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-19 20:43:51 -07:00

16 lines
464 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
globals: false,
setupFiles: ['./src/__tests__/setup.ts'],
env: {
NODE_ENV: 'production',
QUINN_MY_TEST_DB_URL: 'postgres://quinn:quinn@localhost:25435/quinn_my_test',
PROTECT_ORIGINALS_DIR: '/tmp/test-my-originals',
PHOTOS_PUBLIC_DIR: '/tmp/test-my-photos-public',
CSS_TRAPS_JSON: '/dev/null',
},
},
});