Add MOCHA_GREP for testing

This commit is contained in:
Christopher Hoskin 2020-07-08 11:22:54 +01:00
parent 40a08bebdb
commit 14bac39222

View file

@ -9,7 +9,7 @@
"license": "AGPL-3.0-only",
"version": "2.1.1",
"scripts": {
"test": "mocha test/**/*.js",
"test": "mocha --grep=$MOCHA_GREP test/**/*.js",
"format": "prettier-eslint $PWD'**/*.js' --list-different",
"format:fix": "prettier-eslint $PWD'**/*.js' --write",
"lint": "eslint -f unix ."