@shopify/graphql-testing
Advanced tools
Comparing version 3.1.0 to 3.2.1
@@ -10,2 +10,8 @@ # Changelog | ||
## [3.2.0] - 2019-06-27 | ||
### Added | ||
- Allow `MockLink` to return a full GraphQLError. ([#768](https://github.com/Shopify/quilt/pull/768)) | ||
## [3.1.0] - 2019-05-22 | ||
@@ -12,0 +18,0 @@ |
@@ -48,2 +48,7 @@ "use strict"; | ||
} | ||
else if (response instanceof graphql_1.GraphQLError) { | ||
result = { | ||
errors: [response], | ||
}; | ||
} | ||
else if (response instanceof Error) { | ||
@@ -50,0 +55,0 @@ result = { errors: [new graphql_1.GraphQLError(response.message)] }; |
{ | ||
"name": "@shopify/graphql-testing", | ||
"version": "3.1.0", | ||
"version": "3.2.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Utilities to create mock graphql factory.", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
34376
627
0