Comparing version 0.3.1 to 0.3.2
@@ -319,2 +319,5 @@ /* | ||
// | ||
// The method exportTo(module) is provided as an alias to export(module) | ||
// if you want to avoid using the reserved JavaScript `export` word | ||
// | ||
// You can also call `.run()` which will run the specified suite just | ||
@@ -331,2 +334,5 @@ // as if you were using vows directly. | ||
}, | ||
exportTo: function (target) { | ||
return this.export(target); | ||
}, | ||
run: function (options, callback) { | ||
@@ -333,0 +339,0 @@ if (this.batch) { |
{ | ||
"name": "api-easy", | ||
"description": "Fluent (i.e. chainable) syntax for generating vows tests against RESTful APIs.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Nodejitsu Inc. <info@nodejitsu.com>", | ||
@@ -17,3 +17,3 @@ "contributors": [ | ||
"request": "2.x.x", | ||
"vows": "0.5.x" | ||
"vows": "0.6.x" | ||
}, | ||
@@ -20,0 +20,0 @@ "devDependencies": { |
@@ -25,3 +25,3 @@ /* | ||
['discuss', 'use', 'setHeaders', 'path', 'unpath', 'root', 'get', 'put', | ||
'post', 'del', 'expect', 'next', 'export', '_request', '_currentTest'].forEach(function (key) { | ||
'post', 'del', 'expect', 'next', 'export', 'exportTo', '_request', '_currentTest'].forEach(function (key) { | ||
assert.isFunction(suite[key]); | ||
@@ -28,0 +28,0 @@ }); |
@@ -47,3 +47,3 @@ /* | ||
['discuss', 'use', 'setHeaders', 'path', 'unpath', 'root', 'get', 'put', | ||
'post', 'del', 'expect', 'next', 'export', '_request', '_currentTest', 'addBatch'].forEach(function (key) { | ||
'post', 'del', 'expect', 'next', 'export', 'exportTo', '_request', '_currentTest', 'addBatch'].forEach(function (key) { | ||
assert.isFunction(easy[key]); | ||
@@ -50,0 +50,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124388
1196
+ Addeddiff@1.0.8(transitive)
+ Addedvows@0.6.4(transitive)
- Removedvows@0.5.13(transitive)
Updatedvows@0.6.x