Skip to content

Commit

Permalink
fix flakey timers_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb authored Jan 25, 2019
1 parent 1341893 commit 32c0d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/driver/test/cypress/integration/cy/timers_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,12 @@ describe('driver/src/cy/timers', () => {
.then((win) => {
const stub1 = cy.stub()

win.setTimeout(stub1, 200)
win.setTimeout(stub1, 400)

win.location.reload()

cy
.wait(400)
.wait(600)
.then(() => {
expect(stub1).not.to.be.called
})
Expand Down

0 comments on commit 32c0d75

Please sign in to comment.