Permalink
Browse files

Use `mocha-as-promised` to allow tests to return promises

  • Loading branch information...
1 parent 0cd4ebd commit c9668ce79e0a902710944c83cf49f78d584fcb31 @arikon arikon committed Oct 28, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 package.json
  2. +1 −0 test/common.js
  3. +1 −0 test/mocha.opts
View
@@ -24,6 +24,7 @@
"devDependencies": {
"coffee-script": "~1.4.0",
"istanbul": "~0.1.11",
+ "mocha-as-promised": "*",
"mocha-istanbul": "*",
"mocha": "~1.6.0",
"chai": "~1.3.0"
View
@@ -0,0 +1 @@
+require('mocha-as-promised')();
View
@@ -1,3 +1,4 @@
--reporter spec
--ignore-leaks
--timeout 0
+--require test/common.js

0 comments on commit c9668ce

Please sign in to comment.