jasmine-async-suite
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -24,3 +24,3 @@ 'use strict'; | ||
var promise = callback.call(_this); | ||
invariant(promise instanceof Promise, name + ' must return a promise!'); | ||
invariant(promise && isFunction(promise.then), name + ' must return a promise!'); | ||
promise.then(done, done.fail); | ||
@@ -27,0 +27,0 @@ }])); |
{ | ||
"name": "jasmine-async-suite", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Adds async function to jasmine suite function that expect promises for asynchronous tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4616