Comparing version 1.0.3 to 1.1.0
@@ -26,4 +26,3 @@ var co = require('co'); | ||
if (isGenFn(this.fn)) { | ||
this.fn = co(this.fn); | ||
this.sync = !(this.async = true); | ||
this.fn = co.wrap(this.fn); | ||
} | ||
@@ -30,0 +29,0 @@ |
{ | ||
"name": "co-mocha", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Enable support for generators in Mocha tests", | ||
@@ -37,3 +37,3 @@ "main": "co-mocha.js", | ||
"dependencies": { | ||
"co": "3.x", | ||
"co": "^4.0.0", | ||
"is-generator": "^1.0.0" | ||
@@ -40,0 +40,0 @@ }, |
10080
201