chore: bump transition test duration on CI

This commit is contained in:
Evan You 2021-05-07 09:08:03 -04:00
parent 5db594f0e5
commit 21edc18ac3
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ describe('e2e: Transition', () => {
} = setupPuppeteer() } = setupPuppeteer()
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}` const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
const duration = 50 const duration = process.env.CI ? 100 : 50
const buffer = 5 const buffer = 5
const transitionFinish = (time = duration) => timeout(time + buffer) const transitionFinish = (time = duration) => timeout(time + buffer)

View File

@ -6,7 +6,7 @@ describe('e2e: TransitionGroup', () => {
const { page, html, nextFrame, timeout } = setupPuppeteer() const { page, html, nextFrame, timeout } = setupPuppeteer()
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}` const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
const duration = 50 const duration = process.env.CI ? 100 : 50
const buffer = 5 const buffer = 5
const htmlWhenTransitionStart = () => const htmlWhenTransitionStart = () =>