chore: bump more

This commit is contained in:
Evan You 2021-05-07 09:19:14 -04:00
parent 21edc18ac3
commit 28eb314d87
2 changed files with 6 additions and 6 deletions

View File

@ -14,8 +14,8 @@ describe('e2e: Transition', () => {
} = setupPuppeteer()
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
const duration = process.env.CI ? 100 : 50
const buffer = 5
const duration = process.env.CI ? 200 : 50
const buffer = process.env.CI ? 20 : 5
const transitionFinish = (time = duration) => timeout(time + buffer)
@ -861,7 +861,7 @@ describe('e2e: Transition', () => {
'test-anim-long-leave-to'
])
await new Promise(r => {
setTimeout(r, duration + 5)
setTimeout(r, duration - buffer)
})
expect(await classList('#container div')).toStrictEqual([
'test-anim-long-leave-active',
@ -881,7 +881,7 @@ describe('e2e: Transition', () => {
'test-anim-long-enter-to'
])
await new Promise(r => {
setTimeout(r, duration + 5)
setTimeout(r, duration - buffer)
})
expect(await classList('#container div')).toStrictEqual([
'test-anim-long-enter-active',

View File

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