]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: use single thread for e2e tests on ci
authorEvan You <yyx990803@gmail.com>
Wed, 24 Apr 2024 10:31:45 +0000 (18:31 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 24 Apr 2024 10:31:45 +0000 (18:31 +0800)
vitest.e2e.config.ts

index ecf1c9d95f0c7cd09b3cb9c3bb4dd50c79fe1588..90a67d229d86c71521e9fb2d788de963e432fa7a 100644 (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'],
   },
 })