jest-location-mock icon indicating copy to clipboard operation
jest-location-mock copied to clipboard

🗺🧪 Jest hooks for JSDOM location mock

Results 15 jest-location-mock issues
Sort by recently updated
recently updated
newest added

Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 4.12.2 to 5.9.1. Release notes Sourced from eslint-plugin-testing-library's releases. v5.9.1 5.9.1 (2022-10-21) Bug Fixes prefer-find-by: Respect waitFor options when autofixing (#679) (e31fe03), closes #579 v5.9.0 5.9.0 (2022-10-20)...

dependencies

window.history.pushState not working as expected when jest-location-mock is used. clone [this](https://github.com/saravntbe/push-state-bug) repo to reproduce. example (below test fails.) ```js test('route should be changed', ()=>{ window.history.pushState({}, 'Test page', '/123') expect(window.location.href).toEqual('http://localhost/123') })...

bug
enhancement

Bumps [semantic-release](https://github.com/semantic-release/semantic-release), [@semantic-release/changelog](https://github.com/semantic-release/changelog) and [@semantic-release/git](https://github.com/semantic-release/git). These dependencies needed to be updated together. Updates `semantic-release` from 17.4.7 to 19.0.4 Release notes Sourced from semantic-release's releases. v19.0.4 19.0.4 (2022-08-22) Bug Fixes deps:...

dependencies

Bumps [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) from 0.13.2 to 1.9.0. Release notes Sourced from eslint-plugin-regexp's releases. v1.9.0 ✨ Enhancements Add minAlternatives option for regexp/prefer-character-class rule by @​RunDevelopment in ota-meshi/eslint-plugin-regexp#462 Full Changelog: https://github.com/ota-meshi/eslint-plugin-regexp/compare/v1.8.0...v1.9.0 v1.8.0 ✨...

dependencies

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

it works but changes the window globally which causes crashes at another test, so can be used to modify the window inside every single test spirality without reflection on other...

bug
question

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits 906cf40 3.1.4 7712ba5 Fix ReDoS vulnerability backport a0203db Fix ReDoS vulnerability...

dependencies

Bumps [husky](https://github.com/typicode/husky) from 6.0.0 to 8.0.1. Release notes Sourced from husky's releases. v8.0.0 What's Changed Feats feat: add husky - prefix to logged global error messages by @​joshbalfour in typicode/husky#1092...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=trim-newlines&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=3.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies