Skip to content

Commit

Permalink
Update tests to use mocha.opts.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Aug 29, 2014
1 parent 91c9ab4 commit 392f359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"url": "https://github.com/rstacruz/swipeshow/issues"
},
"scripts": {
"test": "./node_modules/.bin/mocha -R spec --recursive --compilers coffee:coffee-script/register",
"autotest": "./node_modules/.bin/mocha -R min --recursive --compilers coffee:coffee-script/register --watch"
"test": "mocha",
"autotest": "mocha -R min -b --watch"
},
"devDependencies": {
"mocha": "*",
Expand Down
3 changes: 3 additions & 0 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-R spec
--recursive
--compilers coffee:coffee-script/register

0 comments on commit 392f359

Please sign in to comment.