Browse Source

chore(server): Attempt to speed up Jest tests in Travis CI

Trying solutions from https://github.com/facebook/jest/issues/3855#issuecomment-309521581
Michael Bromley 7 years ago
parent
commit
a70abacfd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/package.json

+ 1 - 1
server/package.json

@@ -8,7 +8,7 @@
     "populate": "node -r ts-node/register -r tsconfig-paths/register mock-data/populate-cli.ts",
     "start:dev": "nodemon --config nodemon-debug.json",
     "lint": "tslint --project tsconfig.json -c tslint.json",
-    "test": "jest",
+    "test": "jest --runInBand",
     "test:watch": "jest --watch",
     "test:cov": "jest --coverage",
     "test:e2e": "jest --config ./e2e/config/jest-e2e.json --runInBand",