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
6 changes: 3 additions & 3 deletions packages/assets-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = merge(baseConfig, {
coverageThreshold: {
global: {
branches: 82.17,
functions: 90.96,
lines: 90.69,
statements: 90.7,
functions: 90.06,
lines: 90.56,
statements: 90.56,
},
},
});
8 changes: 4 additions & 4 deletions packages/assets-controllers/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 91.07,
functions: 98.47,
lines: 98.13,
statements: 98.13,
branches: 91.05,
functions: 98.23,
lines: 98.11,
statements: 98.12,
},
},

Expand Down
2 changes: 1 addition & 1 deletion packages/core-backend/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = merge(baseConfig, {
coverageThreshold: {
global: {
branches: 98.89,
functions: 99.27,
functions: 99.16,
lines: 99.78,
statements: 99.78,
},
Expand Down
1 change: 0 additions & 1 deletion packages/foundryup/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.packages.build.json",
"compilerOptions": {
"lib": ["ES2021", "DOM"],
"outDir": "./dist",
"rootDir": "./src",
"types": ["node"]
Expand Down
3 changes: 0 additions & 3 deletions packages/foundryup/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"extends": "../../tsconfig.packages.json",
"compilerOptions": {
"lib": ["ES2021", "DOM"]
},
"references": [],
"include": ["../../types", "./types", "./src"]
}
6 changes: 3 additions & 3 deletions packages/gas-fee-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = merge(baseConfig, {
coverageThreshold: {
global: {
branches: 85.36,
functions: 92.5,
lines: 92.26,
statements: 92.34,
functions: 91.42,
lines: 92.13,
statements: 92.22,
},
},
});
2 changes: 1 addition & 1 deletion packages/keyring-controller/jest.config.cjs
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: 95.9,
branches: 95.87,
functions: 100,
lines: 99.17,
statements: 99.18,
Expand Down
2 changes: 1 addition & 1 deletion packages/multichain-account-service/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 96.76,
branches: 96.71,
functions: 100,
lines: 100,
statements: 100,
Expand Down
8 changes: 4 additions & 4 deletions packages/network-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 93.8,
functions: 98.14,
lines: 97.94,
statements: 97.83,
branches: 93.69,
functions: 97.95,
lines: 97.87,
statements: 97.77,
},
},

Expand Down
2 changes: 1 addition & 1 deletion packages/network-enablement-controller/jest.config.cjs
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: 95.18,
branches: 94.93,
functions: 100,
lines: 100,
statements: 100,
Expand Down
8 changes: 4 additions & 4 deletions packages/notification-services-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 80.88,
functions: 92.42,
lines: 92.93,
statements: 93.11,
branches: 80.77,
functions: 92,
lines: 92.89,
statements: 93.07,
},
},

Expand Down
4 changes: 4 additions & 0 deletions packages/perps-controller/src/PerpsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2743,6 +2743,10 @@ export class PerpsController extends BaseController<
},
stateManager: {
update: (updater: (state: PerpsControllerState) => void) =>
// Using `@ts-ignore` instead of `@ts-expect-error` since this error
// comes and goes after unrelated changes.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: TS2589: Type instantiation is excessively deep and possibly infinite.
this.update(updater),
getState: (): PerpsControllerState => this.#getControllerState(),
},
Expand Down
6 changes: 3 additions & 3 deletions packages/profile-sync-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = merge(baseConfig, {
coverageThreshold: {
global: {
branches: 85.03,
functions: 93.03,
lines: 95.15,
statements: 95.19,
functions: 91.45,
lines: 95.09,
statements: 95.13,
},
},

Expand Down
4 changes: 2 additions & 2 deletions packages/rate-limit-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module.exports = merge(baseConfig, {
global: {
branches: 92.85,
functions: 100,
lines: 97.22,
statements: 97.22,
lines: 96.87,
statements: 96.87,
},
},
});
4 changes: 2 additions & 2 deletions packages/smart-transactions-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 87.88,
functions: 97.32,
branches: 87.79,
functions: 97,
lines: 95.35,
statements: 95.33,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = merge(baseConfig, {
global: {
branches: 97.64,
functions: 100,
lines: 99.63,
lines: 99.62,
statements: 99.63,
},
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"composite": true,
"esModuleInterop": true,
"isolatedModules": true,
"lib": ["ES2020", "DOM"],
"lib": ["ES2022", "DOM"],
"module": "Node16",
"moduleResolution": "Node16",
"strict": true,
"target": "ES2020",
"target": "ES2022",
"types": ["jest"]
}
}
2 changes: 1 addition & 1 deletion tsconfig.scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"compilerOptions": {
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2020"],
"lib": ["ES2022"],
"noEmit": true,
"noErrorTruncation": true,
"noUncheckedIndexedAccess": true
Expand Down
Loading