Files
actual/packages/sync-server/vitest.config.ts
Matt FiddamanGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
c4775bf288 wire tests up to depot test results analysis (#8262)
* emit junit files

* wire up the actions

* note

* [autofix.ci] apply automated fixes

* fix overly broad error

* scope to master runs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-21 07:50:55 +00:00

27 lines
680 B
TypeScript

export default {
test: {
exclude: ['**/node_modules/**', '**/dist/**', '**/build/**'],
globalSetup: ['./vitest.globalSetup.js'],
globals: true,
coverage: {
enabled: false,
},
maxWorkers: 2,
// All test files share account.sqlite. Running files in parallel races on
// the auth table's PRIMARY KEY (e.g. UNIQUE constraint failed: auth.method).
fileParallelism: false,
reporters: process.env.CI
? [
'default',
[
'junit',
{
outputFile: './test-results/junit.xml',
suiteName: 'sync-server',
},
],
]
: ['default'],
},
};