Skip to content

Commit

Permalink
tweaks jest settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Jan 19, 2024
1 parent c13022d commit e3472ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** @type {import('jest').Config} */
export default {
maxConcurrency: 2,
maxWorkers: '50%',
collectCoverage: true,
coverageReporters: ['text', 'clover', 'json', 'lcov'],
testResultsProcessor: 'jest-sonar-reporter',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"compile": "turbo run compile",
"start": "lerna run start",
"lint": "turbo run lint",
"test": "turbo run test",
"test": "turbo run test --concurrency=1",
"test:ci": "turbo run lint && jest",
"prepare": "husky install"
},
Expand Down

0 comments on commit e3472ee

Please sign in to comment.