Skip to content

Commit

Permalink
chore: add workerIdleMemoryLimit to 50% for jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
panvourtsis committed Jul 27, 2023
1 parent 927c19e commit fcfaf83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
yarn documentation:build
- name: Run Tests
run: yarn test --maxWorkers=50%
run: yarn test

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
preset: 'ts-jest',
workerIdleMemoryLimit: 0.5,
testEnvironment: 'jsdom',
testRegex: '(\\.(test|spec))\\.(ts|tsx|js)$',
transform: {
Expand Down

0 comments on commit fcfaf83

Please sign in to comment.