mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Merge pull request #6697 from BryceLTaylor/use-node16
use node 16.14.2 in circleci and recommend 16
This commit is contained in:
commit
1a2d1db3a1
4 changed files with 32072 additions and 124 deletions
|
@ -3,7 +3,7 @@ version: 2.1
|
|||
aliases:
|
||||
- &defaults
|
||||
docker:
|
||||
- image: cimg/node:12.20.1-browsers
|
||||
- image: cimg/node:16.14.2-browsers
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
|
|
|
@ -85,7 +85,7 @@ Our tests use:
|
|||
### Before Getting Started
|
||||
|
||||
Make sure you have installed:
|
||||
* [node](https://docs.npmjs.com/getting-started/installing-node): version 12
|
||||
* [node](https://docs.npmjs.com/getting-started/installing-node): version 16
|
||||
* npm (Node Package Manager): used to maintain and update packages required to build the site
|
||||
|
||||
### Update Packages
|
||||
|
|
32188
package-lock.json
generated
32188
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -79,7 +79,7 @@ describe('loadManagers', () => {
|
|||
api.mockImplementation((opts, callback) => {
|
||||
callback(null, null, {statusCode: 500});
|
||||
});
|
||||
store.dispatch(loadManagers());
|
||||
store.dispatch(loadManagers()).catch(() => {});
|
||||
expect(managers.selector(store.getState()).error).toBe(Errors.SERVER);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue