Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 3dadd10

Browse files
committed
Use forever to restart API during testing
1 parent ad363f3 commit 3dadd10

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
"eslint-plugin-promise": "^3.6.0",
3434
"eslint-plugin-react": "^7.1.0",
3535
"flow-bin": "0.66",
36+
"forever": "^0.15.3",
3637
"is-html": "^1.1.0",
3738
"lint-staged": "^3.3.0",
3839
"micromatch": "^3.0.4",
3940
"prettier": "^1.0.0",
4041
"raw-loader": "^0.5.1",
4142
"react-scripts": "^1.0.0",
42-
"respawn": "^2.5.0",
4343
"rimraf": "^2.6.1",
4444
"sw-precache-webpack-plugin": "^0.11.4",
4545
"uuid": "^3.0.1",
@@ -239,7 +239,7 @@
239239
"test": "npm run jest -- --runInBand --watch",
240240
"test:ci": "npm run jest -- --forceExit --outputFile test-results.json --json",
241241
"test:e2e": "cypress run",
242-
"start:api:test": "TEST_DB=true FORCE_DEV=true node build-api/main.js",
242+
"start:api:test": "TEST_DB=true FORCE_DEV=true forever build-api/main.js",
243243
"cypress:open": "cypress open",
244244
"lint": "eslint .",
245245
"flow": "flow",

shared/testing/start-api.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)