Commit c9515d1
committed
chore: migrate Jest from v29 to v30
- Update jest to ^30.2.0, @types/jest to ^30.0.0, jest-silent-reporter
to ^0.6.0, ts-jest to ^29.4.6 across all packages
- Update jest-environment-jsdom to ^30.2.0, jest-when to ^3.7.0,
jest-it-up to ^4.0.1 where used
- Remove prettier-2 alias and prettierPath config (Jest 30 supports
Prettier 3 natively)
- Replace jest.SpyInstance with jest.SpiedFunction (46 occurrences
across 22 files)
- Fix toThrow() assertions for Jest 30's stricter error comparison
in eth-json-rpc-provider, eth-json-rpc-middleware, and
permission-controller
- Fix foundryup os module mocking for Jest 30's node: prefix handling
and resetMocks interaction
- Add lavamoat allowScripts entry for unrs-resolver1 parent 3f81f08 commit c9515d1
File tree
136 files changed
+1796
-1531
lines changed- packages
- account-tree-controller
- src
- accounts-controller
- address-book-controller
- ai-controllers
- analytics-controller
- analytics-data-regulation-controller
- announcement-controller
- app-metadata-controller
- approval-controller
- assets-controllers
- src
- MultichainAssetsRatesController
- assets-controller
- base-controller
- bridge-controller
- src
- __snapshots__
- utils/__snapshots__
- bridge-status-controller
- src
- __snapshots__
- utils
- build-utils
- chain-agnostic-permission
- claims-controller
- composable-controller
- connectivity-controller
- controller-utils
- core-backend
- delegation-controller
- earn-controller
- eip-5792-middleware
- eip-7702-internal-rpc-middleware
- eip1193-permission-middleware
- ens-controller
- error-reporting-service
- eth-block-tracker
- eth-json-rpc-middleware
- src
- test/util
- eth-json-rpc-provider
- src
- foundryup
- src
- gas-fee-controller
- gator-permissions-controller
- json-rpc-engine
- json-rpc-middleware-stream
- keyring-controller
- logging-controller
- message-manager
- messenger
- multichain-account-service
- src
- multichain-api-middleware
- multichain-network-controller
- src/MultichainNetworkController
- multichain-transactions-controller
- name-controller
- network-controller
- network-enablement-controller
- notification-services-controller
- src
- NotificationServicesController
- services
- NotificationServicesPushController
- services
- web
- permission-controller
- src
- permission-log-controller
- perps-controller
- phishing-controller
- src
- polling-controller
- preferences-controller
- profile-metrics-controller
- profile-sync-controller
- ramps-controller
- rate-limit-controller
- remote-feature-flag-controller
- sample-controllers
- seedless-onboarding-controller
- src
- selected-network-controller
- shield-controller
- signature-controller
- storage-service
- src
- subscription-controller
- transaction-controller
- transaction-pay-controller
- user-operation-controller
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
136 files changed
+1796
-1531
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments