Does cy.clock mock useInterval? #29543
Unanswered
angeloderivco
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been testing a component that countdowns using useInterval. The only thing the test does when I use cy.clock() is it stops the countdown but never really moves when I use cy.tick()
Beta Was this translation helpful? Give feedback.
All reactions