chore: bump more
This commit is contained in:
parent
21edc18ac3
commit
28eb314d87
@ -14,8 +14,8 @@ describe('e2e: Transition', () => {
|
|||||||
} = setupPuppeteer()
|
} = setupPuppeteer()
|
||||||
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
|
||||||
|
|
||||||
const duration = process.env.CI ? 100 : 50
|
const duration = process.env.CI ? 200 : 50
|
||||||
const buffer = 5
|
const buffer = process.env.CI ? 20 : 5
|
||||||
|
|
||||||
const transitionFinish = (time = duration) => timeout(time + buffer)
|
const transitionFinish = (time = duration) => timeout(time + buffer)
|
||||||
|
|
||||||
@ -861,7 +861,7 @@ describe('e2e: Transition', () => {
|
|||||||
'test-anim-long-leave-to'
|
'test-anim-long-leave-to'
|
||||||
])
|
])
|
||||||
await new Promise(r => {
|
await new Promise(r => {
|
||||||
setTimeout(r, duration + 5)
|
setTimeout(r, duration - buffer)
|
||||||
})
|
})
|
||||||
expect(await classList('#container div')).toStrictEqual([
|
expect(await classList('#container div')).toStrictEqual([
|
||||||
'test-anim-long-leave-active',
|
'test-anim-long-leave-active',
|
||||||
@ -881,7 +881,7 @@ describe('e2e: Transition', () => {
|
|||||||
'test-anim-long-enter-to'
|
'test-anim-long-enter-to'
|
||||||
])
|
])
|
||||||
await new Promise(r => {
|
await new Promise(r => {
|
||||||
setTimeout(r, duration + 5)
|
setTimeout(r, duration - buffer)
|
||||||
})
|
})
|
||||||
expect(await classList('#container div')).toStrictEqual([
|
expect(await classList('#container div')).toStrictEqual([
|
||||||
'test-anim-long-enter-active',
|
'test-anim-long-enter-active',
|
||||||
|
@ -6,8 +6,8 @@ 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 = process.env.CI ? 100 : 50
|
const duration = process.env.CI ? 200 : 50
|
||||||
const buffer = 5
|
const buffer = process.env.CI ? 20 : 5
|
||||||
|
|
||||||
const htmlWhenTransitionStart = () =>
|
const htmlWhenTransitionStart = () =>
|
||||||
page().evaluate(() => {
|
page().evaluate(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user