mirror of
https://github.com/wassname/talk.git
synced 2026-08-08 11:28:12 +08:00
Adjusted tests for circle
This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@ test:
|
||||
override:
|
||||
- npm run lint
|
||||
- ./bin/cli settings init
|
||||
- MOCHA_FILE=$CIRCLE_TEST_REPORTS/junit/test-results.xml ./node_modules/.bin/mocha tests --reporter mocha-junit-reporter
|
||||
- sleep 5
|
||||
- MOCHA_FILE=junit/test-results.xml NPM_PACKAGE_CONFIG_MOCHA_REPORTER=mocha-junit-reporter npm run test
|
||||
|
||||
deployment:
|
||||
release:
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
"build-watch": "NODE_ENV=development webpack --config webpack.config.dev.js --watch",
|
||||
"lint": "eslint bin/* .",
|
||||
"lint-fix": "eslint bin/* . --fix",
|
||||
"test": "TEST_MODE=unit NODE_ENV=test mocha",
|
||||
"test": "TEST_MODE=unit NODE_ENV=test mocha -R ${NPM_PACKAGE_CONFIG_MOCHA_REPORTER:-spec}",
|
||||
"test-cover": "TEST_MODE=unit NODE_ENV=test istanbul cover _mocha --report text --check-coverage -- -R spec",
|
||||
"pree2e": "NODE_ENV=test scripts/pree2e.sh",
|
||||
"e2e": "NODE_ENV=test nightwatch",
|
||||
|
||||
Reference in New Issue
Block a user