mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Bump minimum Node.js version to 16 (#15131)
This commit is contained in:
parent
7ee492b434
commit
08cc6c5e77
@ -3,10 +3,10 @@ version: 2.1
|
|||||||
executors:
|
executors:
|
||||||
node-browsers:
|
node-browsers:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:14-browsers
|
- image: circleci/node:16-browsers
|
||||||
node-browsers-medium-plus:
|
node-browsers-medium-plus:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:14-browsers
|
- image: circleci/node:16-browsers
|
||||||
resource_class: medium+
|
resource_class: medium+
|
||||||
environment:
|
environment:
|
||||||
NODE_OPTIONS: --max_old_space_size=2048
|
NODE_OPTIONS: --max_old_space_size=2048
|
||||||
|
@ -165,7 +165,7 @@ describe('ComposableObservableStore', () => {
|
|||||||
Example: exampleController,
|
Example: exampleController,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
).toThrow(`Cannot read property 'subscribe' of undefined`);
|
).toThrow(`Cannot read properties of undefined (reading 'subscribe')`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should throw if the controller messenger is omitted and updateStructure called with a BaseControllerV2 controller', () => {
|
it('should throw if the controller messenger is omitted and updateStructure called with a BaseControllerV2 controller', () => {
|
||||||
@ -175,7 +175,7 @@ describe('ComposableObservableStore', () => {
|
|||||||
});
|
});
|
||||||
const store = new ComposableObservableStore({});
|
const store = new ComposableObservableStore({});
|
||||||
expect(() => store.updateStructure({ Example: exampleController })).toThrow(
|
expect(() => store.updateStructure({ Example: exampleController })).toThrow(
|
||||||
`Cannot read property 'subscribe' of undefined`,
|
`Cannot read properties of undefined (reading 'subscribe')`,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ describe('transform utils', () => {
|
|||||||
// This error is an artifact of how we're mocking the ESLint singleton,
|
// This error is an artifact of how we're mocking the ESLint singleton,
|
||||||
// and won't actually occur in production.
|
// and won't actually occur in production.
|
||||||
await expect(() => lintTransformedFile()).rejects.toThrow(
|
await expect(() => lintTransformedFile()).rejects.toThrow(
|
||||||
`Cannot read property '0' of undefined`,
|
`Cannot read properties of undefined (reading '0')`,
|
||||||
);
|
);
|
||||||
expect(mockESLint).toBeDefined();
|
expect(mockESLint).toBeDefined();
|
||||||
});
|
});
|
||||||
|
@ -381,7 +381,7 @@
|
|||||||
"yarn-deduplicate": "^3.1.0"
|
"yarn-deduplicate": "^3.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.15.1",
|
"node": "^16.0.0",
|
||||||
"yarn": "^1.16.0"
|
"yarn": "^1.16.0"
|
||||||
},
|
},
|
||||||
"lavamoat": {
|
"lavamoat": {
|
||||||
|
Loading…
Reference in New Issue
Block a user