Skip to content

Commit

Permalink
fix: jest OOM by using --runInBand
Browse files Browse the repository at this point in the history
run serially, don't choke on resources
  • Loading branch information
karrui committed Oct 11, 2024
1 parent 3bd94f0 commit ab51564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"lint": "eslint .",
"lint-fix": "eslint --fix ./src",
"test": "jest",
"test:coverage": "jest --coverage",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"build": "tsc && webpack --mode production",
"dev": "concurrently \"npm run dev-server\" \"npm run dev-client\"",
"dev-server": "ts-node-dev --respawn --transpile-only --inspect -- src/server/index.ts",
Expand Down

0 comments on commit ab51564

Please sign in to comment.