Skip to content

What's a good way to mock window.location? #2213

Answered by sheremet-va
uttk-dev asked this question in Q&A
Discussion options

You must be logged in to vote

You need to reset the state in beforeEach hook

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@uttk-dev
Comment options

@sheremet-va
Comment options

@Kolobok12309
Comment options

@kwojcik
Comment options

@is-jonreeves
Comment options

Answer selected by uttk-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants