Skip to content

Commit

Permalink
Merge pull request #8322 from stieg/improve-tests
Browse files Browse the repository at this point in the history
build(test) Improve test target
  • Loading branch information
vkarpov15 authored Nov 11, 2019
2 parents 5c04b5d + 9e31710 commit 284b44d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"lint": "eslint .",
"release": "git pull && git push origin master --tags && npm publish",
"release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
"test": "mocha --exit test/*.test.js test/**/*.test.js",
"test": "mocha --exit",
"test-cov": "nyc --reporter=html --reporter=text npm test"
},
"main": "./index.js",
Expand Down Expand Up @@ -142,6 +142,10 @@
"message": "Don't use Mocha's global context"
}
]
},
"mocha": {
"extension": ["test.js"],
"watch-files": ["test/**/*.js"]
}
}
}

0 comments on commit 284b44d

Please sign in to comment.