mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-21 17:59:54 -05:00
c4775bf288
* 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>
27 lines
680 B
TypeScript
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'],
|
|
},
|
|
};
|