Disable tests that don't work in Postgres, and don't start a mongo for postgres tests (#2481)
* Disable tests that don't work in Postgres, and don't start a mongo for postgres tests * Remove unnecessary chages * remove more unnecessary chagnes
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
"redis": "2.6.2",
|
||||
"request": "2.74.0",
|
||||
"request-promise": "4.1.0",
|
||||
"semver": "^5.2.0",
|
||||
"semver": "5.2.0",
|
||||
"tv4": "1.2.7",
|
||||
"winston": "2.2.0",
|
||||
"winston-daily-rotate-file": "1.2.0",
|
||||
@@ -68,7 +68,7 @@
|
||||
"scripts": {
|
||||
"dev": "npm run build && node bin/dev",
|
||||
"build": "babel src/ -d lib/",
|
||||
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 mongodb-runner start",
|
||||
"pretest": "test -z \"$PARSE_SERVER_TEST_DB\" && cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 mongodb-runner start || echo",
|
||||
"test": "cross-env NODE_ENV=test TESTING=1 babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js",
|
||||
"test:win": "npm run pretest && cross-env NODE_ENV=test TESTING=1 babel-node ./node_modules/jasmine/bin/jasmine.js && npm run posttest",
|
||||
"posttest": "mongodb-runner stop",
|
||||
|
||||
Reference in New Issue
Block a user