Skip to content

Commit 28eb314

Browse files
committed
chore: bump more
1 parent 21edc18 commit 28eb314

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/vue/__tests__/Transition.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ describe('e2e: Transition', () => {
1414
} = setupPuppeteer()
1515
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
1616

17-
const duration = process.env.CI ? 100 : 50
18-
const buffer = 5
17+
const duration = process.env.CI ? 200 : 50
18+
const buffer = process.env.CI ? 20 : 5
1919

2020
const transitionFinish = (time = duration) => timeout(time + buffer)
2121

@@ -861,7 +861,7 @@ describe('e2e: Transition', () => {
861861
'test-anim-long-leave-to'
862862
])
863863
await new Promise(r => {
864-
setTimeout(r, duration + 5)
864+
setTimeout(r, duration - buffer)
865865
})
866866
expect(await classList('#container div')).toStrictEqual([
867867
'test-anim-long-leave-active',
@@ -881,7 +881,7 @@ describe('e2e: Transition', () => {
881881
'test-anim-long-enter-to'
882882
])
883883
await new Promise(r => {
884-
setTimeout(r, duration + 5)
884+
setTimeout(r, duration - buffer)
885885
})
886886
expect(await classList('#container div')).toStrictEqual([
887887
'test-anim-long-enter-active',

packages/vue/__tests__/TransitionGroup.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('e2e: TransitionGroup', () => {
66
const { page, html, nextFrame, timeout } = setupPuppeteer()
77
const baseUrl = `file://${path.resolve(__dirname, './transition.html')}`
88

9-
const duration = process.env.CI ? 100 : 50
10-
const buffer = 5
9+
const duration = process.env.CI ? 200 : 50
10+
const buffer = process.env.CI ? 20 : 5
1111

1212
const htmlWhenTransitionStart = () =>
1313
page().evaluate(() => {

0 commit comments

Comments
 (0)