]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: bump transition test duration on CI
authorEvan You <yyx990803@gmail.com>
Fri, 7 May 2021 13:08:03 +0000 (09:08 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 7 May 2021 13:08:10 +0000 (09:08 -0400)
packages/vue/__tests__/Transition.spec.ts
packages/vue/__tests__/TransitionGroup.spec.ts

index 94f973aee3637156ea03c7977062a3ba4f270ea4..5ef7cac89c24634e25717626d8f3af1854477c9e 100644 (file)
@@ -14,7 +14,7 @@ describe('e2e: Transition', () => {
   } = setupPuppeteer()
   const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
 
-  const duration = 50
+  const duration = process.env.CI ? 100 : 50
   const buffer = 5
 
   const transitionFinish = (time = duration) => timeout(time + buffer)
index 512a93bad576679743e785cd55a4fec364c0c293..277955f8e60d16f648984e3e3c074b081d5bdd18 100644 (file)
@@ -6,7 +6,7 @@ describe('e2e: TransitionGroup', () => {
   const { page, html, nextFrame, timeout } = setupPuppeteer()
   const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
 
-  const duration = 50
+  const duration = process.env.CI ? 100 : 50
   const buffer = 5
 
   const htmlWhenTransitionStart = () =>