graphql-mock
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,4 +10,3 @@ "use strict"; | ||
then(callback) { | ||
callback(something); | ||
return promise; | ||
return immediatelyResolvingPromise(callback(something)); | ||
}, | ||
@@ -26,4 +25,3 @@ catch() { | ||
catch(callback) { | ||
callback(error); | ||
return promise; | ||
return immediatelyResolvingPromise(callback(error)); | ||
} | ||
@@ -30,0 +28,0 @@ }; |
{ | ||
"name": "graphql-mock", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "GraphQL endpoint mockery library for testing", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
16754
386