Skip to content

Commit

Permalink
fix: slow down Jest to see if it helps with testing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq committed Oct 18, 2024
1 parent 2343d6e commit dea3904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": "tsc && copyfiles src/templates/**/* ../dist",
"clean": "rimraf ../dist/src ../dist/test",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "cross-env NODE_ENV=test jest",
"test": "cross-env NODE_OPTIONS=--max-old-space-size=3000 NODE_ENV=test jest --watchAll=false --maxWorkers=2",
"test:watch": "cross-env NODE_ENV=test TR_ACCESS_LOGS_ENABLED=false jest --watch",
"test:e2e": "cross-env NODE_ENV=e2e TR_DEFAULT_PROJECT_PLAN=default TR_ACCESS_LOGS_ENABLED=false TR_DB_DATABASE=tr_e2e jest --config ./test/jest-e2e.json --runInBand --verbose",
"test:ci": "yarn test && yarn test:e2e",
Expand Down

0 comments on commit dea3904

Please sign in to comment.