Skip to content

Commit

Permalink
ci: use single thread for e2e tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 24, 2024
1 parent 064e82f commit 8ee69e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vitest.e2e.config.ts
Expand Up @@ -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'],
},
})

0 comments on commit 8ee69e7

Please sign in to comment.