-
-
Notifications
You must be signed in to change notification settings - Fork 275
chore: migrate Jest from v27 to v29 #7894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
3122be2
chore: Update Jest related packages to ^28
Gudahtt 6c035dd
Add workaround for uuid incompatibility
Gudahtt 608af12
WIP
Gudahtt b1fe19d
WIP
Gudahtt b753669
Explicitly specify environments and update them
Gudahtt 91d8b82
Update to fix bug with fake timers
Gudahtt c7ce6b1
Fix depcheck lint error
Gudahtt fa93c24
Update test enviornment imports
Gudahtt 6f4bdf0
Use modern timers everywhere (we already do on main, using legacy was…
Gudahtt 9b947d4
Fix lint error
Gudahtt 54a41ee
fix: ensure nock can intercept fetch requests in Jest 28
cryptodev-2s 989ed2b
fix: add export statement to make setup.ts unambiguous module
cryptodev-2s 12dc701
fix tests
cryptodev-2s b498c3b
Fix Jest 28 compatibility and formatting
cryptodev-2s 6e9bd12
chore: update yarn.lock for Jest 28 compatibility
cryptodev-2s 8fc024b
fix: dedupe deps
cryptodev-2s c61401a
fix: resolve YN0078 error for @metamask/eth-json-rpc-provider
cryptodev-2s 676393f
Merge remote-tracking branch 'origin/main' into fix/nock-jest28-compa…
cryptodev-2s 67acb78
fix: update Jest 28 compatibility for jest-environment packages
cryptodev-2s e194052
fix: resolve ESLint errors for uuid and import-x/no-unassigned-import
cryptodev-2s 1564b22
fix: update remaining packages to Jest 28 versions
cryptodev-2s 4545646
fix: update permission-log-controller tests for Jest 28 compatibility
cryptodev-2s 83a183d
fix: update remote-feature-flag-controller test for Jest 28 compatibi…
cryptodev-2s 279f00a
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 43a1b65
refactor: use named import for jest-environment-jsdom TestEnvironment
cryptodev-2s d51b405
fix: .depcheckrc.yml
cryptodev-2s 3cf47ab
chore: update to latest Jest 28 versions
cryptodev-2s 5bf18b8
ci: increase Node.js heap size for lint step
cryptodev-2s 2a7c0cd
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 46f6d91
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s acb8a43
fix: remove unrelated changes
cryptodev-2s 6ae810c
fix: @typescript-eslint/prefer-optional-chain
cryptodev-2s 544b955
fix: package-template jest versions
cryptodev-2s f2a8c6f
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 3cbe600
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 281fd9d
Merge remote-tracking branch 'origin/main' into chore/migrate-jest-to…
cryptodev-2s a0772db
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 0f0c19d
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s ff28ddb
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s eec189c
Merge remote-tracking branch 'origin/main' into chore/migrate-jest-to…
cryptodev-2s 87d2dda
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 648fb0f
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s b3bd6eb
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s bd0c760
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s f4a0322
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s bc13cce
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 1b5a176
fix: restore bridge status tests
cryptodev-2s 91bbfb5
fix: bridge-status-controller tests
cryptodev-2s 572c8ab
Merge remote-tracking branch 'origin/main' into chore/migrate-jest-to…
cryptodev-2s fe08988
Merge remote-tracking branch 'origin/main' into chore/migrate-jest-to…
cryptodev-2s 7ac76e3
fix: restore lint-build-test.yml
cryptodev-2s 34bb6f4
Merge branch 'main' into chore/migrate-jest-to-v28-2
cryptodev-2s 5391e7c
chore: migration jest to v29
cryptodev-2s 347965f
fix: remove keyring-controller timeout increase
cryptodev-2s b03cfdb
chore: remove babel dependencies in favor of ts-jest
cryptodev-2s 4947e85
fix: remove tests/setup verbosity
cryptodev-2s bf82aee
fix: restore transaction pay controller useless changes
cryptodev-2s c8866c8
fix: revert unnecessary stopAllPolling/flushPromises reorder
cryptodev-2s a5ffb59
fix: remove transaction controller tests changes
cryptodev-2s 68f016c
fix: remove Jest 28 performance workaround
cryptodev-2s bd345b5
fix: remote-feature-flag-controller tests
cryptodev-2s 9082f5a
chore: use import instead of require in tests/setup.ts
cryptodev-2s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.