Permalink
Browse files

Simplify NPM test scripts now that Tape has been removed (#2172)

  • Loading branch information...
1 parent b1cbac6 commit 8c3e0d6c646b912d69285412498e372168bc4815 @ntwb ntwb committed with jeddy3 Dec 6, 2016
Showing with 7 additions and 7 deletions.
  1. +3 −3 .travis.yml
  2. +1 −1 appveyor.yml
  3. +3 −3 package.json
View
@@ -9,13 +9,13 @@ matrix:
script: npm run pretest
env: CI=pretest
- node_js: '7'
- script: npm run test:jest -- --runInBand
+ script: npm run jest -- --runInBand
env: CI=tests 7
- node_js: '6'
- script: npm run test:jest -- --runInBand --testPathPattern .*lib/.*
+ script: npm run jest -- --runInBand --testPathPattern .*lib/.*
env: CI=tests 6
- node_js: '4'
- script: npm run test:jest -- --runInBand --testPathPattern .*lib/.*
+ script: npm run jest -- --runInBand --testPathPattern .*lib/.*
env: CI=tests 4
before_install:
- npm prune
View
@@ -19,4 +19,4 @@ install:
test_script:
- node --version
- npm --version
- - cmd: "npm run test:jest -- --runInBand --testPathPattern \\lib"
+ - cmd: "npm run jest -- --runInBand --testPathPattern \\lib"
View
@@ -91,14 +91,14 @@
"scripts": {
"benchmark-rule": "node scripts/benchmark-rule.js",
"flow": "flow",
+ "jest": "jest",
"lint:js": "eslint .",
"lint:md": "remark . --quiet --frail",
"lint": "npm-run-all --parallel lint:*",
"pretest": "npm-run-all --serial lint flow",
"release": "npmpub",
- "test:jest": "jest",
- "test": "npm-run-all --serial test:*",
- "watch": "npm run test:jest -- --watch"
+ "test": "jest",
+ "watch": "jest --watch"
},
"jest": {
"setupFiles": [

0 comments on commit 8c3e0d6

Please sign in to comment.