Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Tan Yi Long
Yilong94
Associate Software Engineer @ Govtech Singapore
12
followers
·
5
following
View GitHub Profile
Sort
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Forked
1
Starred
1
Sort
Recently created
Least recently created
Recently updated
Least recently updated
3 files
1 fork
31 comments
22 stars
remarkablemark
/
README.md
Last active
November 14, 2023 08:55
How to mock `window.location.reload` in Jest and jsdom:
https://remarkablemark.org/blog/2018/11/17/mock-window-location/
Links:
Blog post
Repl.it
You can’t perform that action at this time.