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 5 replies

Comment options

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

@sheremet-va
Comment options

@uttk-dev
Comment options

@sheremet-va
Comment options

@Kolobok12309
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
3 participants