Skip to content

Commit 21edc18

Browse files
committed
chore: bump transition test duration on CI
1 parent 5db594f commit 21edc18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vue/__tests__/Transition.spec.ts

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

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

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

packages/vue/__tests__/TransitionGroup.spec.ts

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

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

1212
const htmlWhenTransitionStart = () =>

0 commit comments

Comments
 (0)