ci: use single thread for e2e tests on ci

This commit is contained in:
Evan You 2024-04-24 18:31:45 +08:00
parent 064e82f585
commit 8ee69e7eaf
No known key found for this signature in database
GPG Key ID: B9D421896CA450FB
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@ import config from './vitest.config'
export default mergeConfig(config, {
test: {
poolOptions: {
threads: {
singleThread: !!process.env.CI,
},
},
include: ['packages/vue/__tests__/e2e/*.spec.ts'],
},
})