mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
adjusted env
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
# job_environment will setup the environment for any job being executed.
|
||||
job_environment: &job_environment
|
||||
NODE_ENV: test
|
||||
DISABLE_CREATE_MONGO_INDEXES: TRUE
|
||||
|
||||
# job_defaults applies all the defaults for each job.
|
||||
@@ -21,7 +22,6 @@ create_indexes: &create_indexes
|
||||
# integration_environment is the environment that configures the tests.
|
||||
integration_environment: &integration_environment
|
||||
<<: *job_environment
|
||||
NODE_ENV: test
|
||||
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
|
||||
E2E_MAX_RETRIES: 3
|
||||
|
||||
|
||||
+4
-4
@@ -19,11 +19,11 @@
|
||||
"lint": "npm-run-all lint:*",
|
||||
"plugins:reconcile": "./bin/cli plugins reconcile",
|
||||
"test": "npm-run-all test:jest test:mocha",
|
||||
"test:jest": "TEST_MODE=unit NODE_ENV=test jest --runInBand",
|
||||
"test:client": "TEST_MODE=unit NODE_ENV=test jest --projects client",
|
||||
"test:jest": "NODE_ENV=test jest --runInBand",
|
||||
"test:client": "NODE_ENV=test jest --projects client",
|
||||
"test:server": "npm-run-all test:server:jest test:server:mocha",
|
||||
"test:server:mocha": "TEST_MODE=unit NODE_ENV=test mocha -R ${MOCHA_REPORTER:-spec}",
|
||||
"test:server:jest": "TEST_MODE=unit NODE_ENV=test jest --runInBand --projects .",
|
||||
"test:server:mocha": "NODE_ENV=test mocha -R ${MOCHA_REPORTER:-spec}",
|
||||
"test:server:jest": "NODE_ENV=test jest --runInBand --projects .",
|
||||
"e2e": "./scripts/e2e.js",
|
||||
"e2e:ci": "./scripts/e2e-ci.sh",
|
||||
"heroku-postbuild": "npm-run-all plugins:reconcile build",
|
||||
|
||||
Reference in New Issue
Block a user