Skip to content

Commit

Permalink
build: add node 16 to nvmrc file and ignore eslint warning in setupTe…
Browse files Browse the repository at this point in the history
…st (#493)
  • Loading branch information
adamstankiewicz authored Apr 11, 2022
1 parent 4812f61 commit 04c0ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.20.1
16
1 change: 1 addition & 0 deletions src/setupTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jest.mock('@edx/frontend-platform/analytics');

// Upgrading to Node16 shows unhandledPromiseRejection warnings as errors so adding a handler
process.on('unhandledRejection', (reason, p) => {
// eslint-disable-next-line no-console
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason.stack);
});

0 comments on commit 04c0ea3

Please sign in to comment.