Skip to content

Commit

Permalink
test: split up long test file
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Nov 18, 2022
1 parent e237809 commit cf5f78d
Show file tree
Hide file tree
Showing 42 changed files with 5,677 additions and 5,607 deletions.
6 changes: 6 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ module.exports = {
statements: 100,
},
},

// TODO: remove this workaround after dropping support for Node 14.
// Use number greater than number of tests to avoid: "You are trying to `import` a file after the Jest environment has been torn down."
// https://github.com/facebook/jest/issues/11438#issuecomment-954155180
maxConcurrency: process.version.startsWith('v14') ? 999 : undefined,
maxWorkers: process.version.startsWith('v14') ? 999 : undefined,
};

0 comments on commit cf5f78d

Please sign in to comment.