Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: resolve merge conflicts and update to Jest 30
- Resolved conflicts in package.json and all workspace packages
- Regenerated yarn.lock
- Updated all workspace packages to use Jest 30
- Fixed test failure in eth-json-rpc-middleware related to Jest 30 error matching
  • Loading branch information
cryptodev-2s committed Nov 29, 2025
commit 15a20bcc52c0c879b0ef09a882a18aae26da14da
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@
"@metamask/network-controller": "^25.0.0",
"@metamask/utils": "^11.8.1",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.191",
"@types/node": "^16.18.54",
"@types/semver": "^7",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@yarnpkg/types": "^4.0.0",
"babel-jest": "^29.7.0",
"babel-jest": "^30.0.0",
"depcheck": "^1.4.7",
"eslint": "^9.39.1",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -87,8 +87,8 @@
"eslint-plugin-promise": "^7.1.0",
"execa": "^5.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-node": "^29.0.0",
"jest": "^30.0.0",
"jest-environment-node": "^30.0.0",
"jest-silent-reporter": "^0.5.0",
"lodash": "^4.17.21",
"nock": "^13.3.1",
Expand All @@ -114,7 +114,8 @@
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true,
"babel-runtime>core-js": false,
"simple-git-hooks": false,
"tsx>esbuild": false
"tsx>esbuild": false,
"jest>@jest/core>jest-resolve>unrs-resolver": false
}
}
}
4 changes: 2 additions & 2 deletions packages/account-tree-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"@metamask/providers": "^22.1.0",
"@metamask/snaps-controllers": "^14.0.1",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
"@metamask/providers": "^22.1.0",
"@metamask/snaps-controllers": "^14.0.1",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"@types/readable-stream": "^2.3.0",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 100,
branches: 95.45,
functions: 100,
lines: 100,
statements: 100,
Expand Down
4 changes: 2 additions & 2 deletions packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/announcement-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/app-metadata-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 90.5,
branches: 89.76,
functions: 99,
lines: 98,
statements: 98,
Expand Down
6 changes: 3 additions & 3 deletions packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@
"@metamask/snaps-controllers": "^14.0.1",
"@metamask/transaction-controller": "^61.3.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.191",
"@types/node": "^16.18.54",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/json-rpc-engine": "^10.1.1",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"@types/sinon": "^9.0.10",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 93,
branches: 92.8,
functions: 98,
lines: 99,
statements: 99,
Expand Down
6 changes: 3 additions & 3 deletions packages/bridge-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
"@metamask/superstruct": "^3.1.0",
"@metamask/transaction-controller": "^61.3.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"lodash": "^4.17.21",
"nock": "^13.3.1",
"ts-jest": "^29.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`BridgeController SSE should publish validation failures 4`] = `
[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`BridgeController should handle errors from fetchBridgeQuotes 1`] = `
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`fetch fetchBridgeQuotes should filter out malformed bridge quotes 2`] = `
[
Expand Down
6 changes: 3 additions & 3 deletions packages/bridge-status-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
"@metamask/snaps-controllers": "^14.0.1",
"@metamask/transaction-controller": "^61.3.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"lodash": "^4.17.21",
"nock": "^13.3.1",
"ts-jest": "^29.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`BridgeStatusController constructor rehydrates the tx history state 1`] = `
{
Expand Down
4 changes: 2 additions & 2 deletions packages/build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/chain-agnostic-permission/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 100,
branches: 98.48,
functions: 100,
lines: 100,
statements: 100,
Expand Down
4 changes: 2 additions & 2 deletions packages/chain-agnostic-permission/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-internal-api": "^9.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/claims-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"@metamask/keyring-controller": "^24.0.0",
"@metamask/profile-sync-controller": "^26.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/composable-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/json-rpc-engine": "^10.1.1",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"immer": "^9.0.6",
"jest": "^29.5.0",
"jest": "^30.0.0",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/controller-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
"@babel/runtime": "^7.23.9",
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.191",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"nock": "^13.3.1",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^24.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"sinon": "^9.2.4",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/delegation-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 100,
branches: 96.29,
functions: 100,
lines: 100,
statements: 100,
Expand Down
4 changes: 2 additions & 2 deletions packages/delegation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^24.0.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/earn-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 100,
branches: 96.45,
functions: 100,
lines: 100,
statements: 100,
Expand Down
4 changes: 2 additions & 2 deletions packages/earn-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
"@metamask/network-controller": "^25.0.0",
"@metamask/transaction-controller": "^61.3.0",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eip-5792-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
"@metamask/keyring-controller": "^24.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"klona": "^2.0.6",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/eip-7702-internal-rpc-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/eip1193-permission-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/rpc-errors": "^7.0.2",
"@ts-bridge/cli": "^0.6.4",
"@types/jest": "^29.5.0",
"@types/jest": "^30.0.0",
"deepmerge": "^4.2.2",
"jest": "^29.5.0",
"jest": "^30.0.0",
"ts-jest": "^29.4.0",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
Loading
Loading