Files
familysync/apps/api/vitest.config.ts
T
Lucas Berger 982438dc10 style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125
insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc
(singleQuote:true, semi:true, tabWidth:2, trailingComma:all,
printWidth:100). Isolated per D-13-08 for reviewability.
2026-06-11 20:35:18 -04:00

15 lines
522 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
globals: true,
setupFiles: ['./test/setup.ts'],
// Disable parallel file execution so concurrent DB tests do not interfere
// via the shared MariaDB. The global afterEach in test/setup.ts truncates
// list tables; running test files in parallel causes FK violations when one
// file's afterEach deletes rows that another file's test is still using.
fileParallelism: false,
},
});