Skip to content

Instantly share code, notes, and snippets.

@FredKSchott
Last active August 29, 2015 14:05
Show Gist options
  • Save FredKSchott/739994eec77ce58d105b to your computer and use it in GitHub Desktop.
Save FredKSchott/739994eec77ce58d105b to your computer and use it in GitHub Desktop.
Running Javascript Tests (with Nyan Cat) - ShellJS Recipes - http://shelljs-recipes.tumblr.com/
// Dependencies: mocha (http://visionmedia.github.io/mocha/)
echo('Running Tests');
exec('node ./node_modules/mocha/bin/_mocha -R nyan --recursive ' + TEST_DIR);
// 380 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_,------,
// 0 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_| /\_/\
// 0 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-^|__( ^ .^)
// _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- "" ""
//
// 380 passing (2s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment