Selaa lähdekoodia

ci: use single thread for e2e tests on ci

Evan You 2 vuotta sitten
vanhempi
commit
8ee69e7eaf
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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'],
   },
 })