Skip to content

Commit

Permalink
build: set max concurrency for jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dereekb committed Jun 9, 2022
1 parent be05e09 commit 5a0e78f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const rootPath = global.testFolderRootPath ?? '<rootDir>/../..';

module.exports = {
...nxPreset,
maxConcurrency: 3,
maxWorkers: 3,
setupFilesAfterEnv: [...(nxPreset.setupFilesAfterEnv ?? []), 'jest-date', `${rootPath}/jest.setup.ts`],
reporters: isCI
? [
Expand Down

0 comments on commit 5a0e78f

Please sign in to comment.