소스 검색

ci: use single thread for e2e tests on ci

Evan You 2 년 전
부모
커밋
8ee69e7eaf
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      vitest.e2e.config.ts

+ 5 - 0
vitest.e2e.config.ts

@@ -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'],
   },
 })