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 authored and buqiyuan committed May 25, 2024
1 parent 3d6fcda commit 8ee5c12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vitest.e2e.config.ts
Original file line number Diff line number Diff line change
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 8ee5c12

Please sign in to comment.