@shopify/graphql-testing
Advanced tools
Comparing version 0.0.0-snapshot-20230126042508 to 0.0.0-snapshot-20230126043728
@@ -76,3 +76,6 @@ 'use strict'; | ||
} | ||
}) => operationName === finalOperationName && (!options.variables || utilities.variablesMatch(variables, options.variables))) : allPendingRequests; | ||
}) => { | ||
console.log('filtering', variables, options.variables); | ||
return operationName === finalOperationName && (!options.variables || utilities.variablesMatch(variables, options.variables)); | ||
}) : allPendingRequests; | ||
await Promise.all(matchingRequests.map(({ | ||
@@ -79,0 +82,0 @@ resolve |
@@ -43,3 +43,3 @@ 'use strict'; | ||
return Object.entries(providedVariables).every(([key, val]) => { | ||
console.log('comparing', operationVariables[key], val); | ||
console.log('comparing', key, operationVariables[key], val); | ||
@@ -46,0 +46,0 @@ if (val && typeof val === 'object') { |
{ | ||
"name": "@shopify/graphql-testing", | ||
"version": "0.0.0-snapshot-20230126042508", | ||
"version": "0.0.0-snapshot-20230126043728", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Utilities to create mock GraphQL factories", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
67164
925