16 lines
464 B
TypeScript
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',
|
|
},
|
|
},
|
|
});
|