File tree Expand file tree Collapse file tree 2 files changed +358
-10
lines changed Expand file tree Collapse file tree 2 files changed +358
-10
lines changed Original file line number Diff line number Diff line change 10
10
],
11
11
"main" : " wrestler.js" ,
12
12
"scripts" : {
13
- "test" : " yarn test-nedb && yarn test-mongo && yarn test-pg" ,
13
+ "test" : " npm-run-all --sequential --continue-on-error test-nedb test-mongo test-pg" ,
14
14
"test-nedb" : " NODE_ENV=test nyc mocha --recursive --exit --slow 150" ,
15
- "test-mongo" : " NODE_ENV=test MONGO_DB_URI=mongodb://localhost:27017/wrestler MONGO_DB_NAME=wrestler nyc mocha --recursive --exit --slow 150" ,
16
- "test-pg" : " NODE_ENV=test PG_CONNECTION_STRING=postgresql://localhost:5432/wrestler nyc mocha --recursive --exit --slow 150" ,
15
+ "test-mongo" : " NODE_ENV=test MONGO_DB_URI=mongodb://localhost:27017/wrestler MONGO_DB_NAME=wrestler nyc --no-clean mocha --recursive --exit --slow 150" ,
16
+ "test-pg" : " NODE_ENV=test PG_CONNECTION_STRING=postgresql://localhost:5432/wrestler nyc --no-clean mocha --recursive --exit --slow 150" ,
17
17
"coverage" : " nyc report --reporter=text-lcov | coveralls" ,
18
18
"start-mongo" : " docker run --name wrestler -p 27017:27017 -d --rm mongo:latest" ,
19
19
"stop-mongo" : " docker container stop wrestler" ,
49
49
"express" : " ^4.16.3" ,
50
50
"mocha" : " ^8.2.1" ,
51
51
"morgan" : " ^1.9.0" ,
52
+ "npm-run-all" : " ^4.1.5" ,
52
53
"nyc" : " ^15.1.0" ,
53
54
"sinon" : " 9.2.4" ,
54
55
"supertest" : " 6.1.3"
You can’t perform that action at this time.
0 commit comments