Skip to content

Commit

Permalink
add test-only script for AppVeyor test
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Jun 2, 2015
1 parent 686f263 commit 9c974e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_test:
- git config --global user.email "snnskwtnb@gmail.com"

test_script:
- node node_modules/.bin/_mocha --timeout 50000
- npm run-script test-only

cache:
- node_modules -> package.json
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"scripts": {
"pretest": "eslint --config node_modules/@shinnn/eslintrc-node/rc.json --env mocha --rule 'no-underscore-dangle: 0' --rule 'camelcase: 0' index.js test.js lib",
"test": "mocha test.js --timeout 50000",
"test-only": "mocha test.js --timeout 50000",
"coverage": "istanbul cover _mocha test.js -x=test.js -- --timeout 50000",
"coveralls": "${npm_package_scripts_coverage} && istanbul-coveralls"
},
Expand Down

0 comments on commit 9c974e4

Please sign in to comment.