-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci-fix(systest): extend test timeout (#1164)
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { configDefaults, defineConfig } from 'vitest/config'; | ||
|
||
export default defineConfig({ | ||
test: { | ||
testTimeout: 60 * 2000, | ||
sequence: { | ||
/* each test file that does not support parallel execution will be executed in sequence by stating this explicitly */ | ||
concurrent: true, | ||
setupFiles: 'parallel' | ||
}, | ||
reporters: process.env.GITHUB_ACTIONS ? ['basic', 'github-actions'] : ['dot'], | ||
isolate: false, | ||
pool: 'threads', | ||
deps: { | ||
optimizer: { | ||
ssr: { | ||
enabled: true | ||
} | ||
} | ||
} | ||
}, | ||
}); |