Skip to content

Instantly share code, notes, and snippets.

View rjmccluskey's full-sized avatar
👨‍💻

Richard McCluskey rjmccluskey

👨‍💻
View GitHub Profile
@rjmccluskey
rjmccluskey / recursive-mocha.json
Last active June 4, 2018 21:04 — forked from timoxley/gist:1721593
Recursively run all tests in test directory using mocha
// this will find all files ending with .spec.js and run them with Mocha. Put this in your package.json
// The quotes around test/**/*.spec.js are required
{
"scripts": {
"test": "mocha 'test/**/*.spec.js'"
}
}