Skip to content

Commit

Permalink
Fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthachatterjee committed Dec 9, 2020
1 parent 45c20cc commit 0e56ecc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe(`Scroll behaviour`, () => {
cy.go(`forward`).waitForRouteChange()

cy.window().then(updatedWindow => {
expect(updatedWindow.scrollY).not.to.eq(idScrollY)
expect(updatedWindow.scrollY).to.eq(idScrollY)
})
})
})
Expand Down

0 comments on commit 0e56ecc

Please sign in to comment.