We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c04b5d + 9e31710 commit 284b44dCopy full SHA for 284b44d
package.json
@@ -73,7 +73,7 @@
73
"lint": "eslint .",
74
"release": "git pull && git push origin master --tags && npm publish",
75
"release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
76
- "test": "mocha --exit test/*.test.js test/**/*.test.js",
+ "test": "mocha --exit",
77
"test-cov": "nyc --reporter=html --reporter=text npm test"
78
},
79
"main": "./index.js",
@@ -142,6 +142,10 @@
142
"message": "Don't use Mocha's global context"
143
}
144
]
145
+ },
146
+ "mocha": {
147
+ "extension": ["test.js"],
148
+ "watch-files": ["test/**/*.js"]
149
150
151
0 commit comments