jest-location-mock
jest-location-mock copied to clipboard
Breaking: Integrate with `window.history`, add setter method on `window.location`, improve tests and other project meta
Breaking
- Breaking: Add setter method on window.location
- Breaking: Add spies and proxy for window.history to track its updates to the original window.location (fixes #158, fixes #123)
Improvements
- Docs: Add limitations, new features, alternative setup and configuration methods to readme (related to workarounds proposed in #123)
Internal
-
Chore: Simplify GitHub Actions npm cache
-
Chore: Remove extraneous eslint disables
-
Chore: Improve tests for existing logic
jsdom v23.1.0 has changed the history
behavior. I should check to see what impact that may have to this PR