@shopify/graphql-testing
Advanced tools
Comparing version 0.0.0-snapshot-20230126043728 to 0.0.0-snapshot-20230126150057
@@ -80,2 +80,3 @@ 'use strict'; | ||
}) : allPendingRequests; | ||
console.log(matchingRequests); | ||
await Promise.all(matchingRequests.map(({ | ||
@@ -82,0 +83,0 @@ resolve |
@@ -42,3 +42,3 @@ 'use strict'; | ||
function variablesMatch(operationVariables, providedVariables) { | ||
return Object.entries(providedVariables).every(([key, val]) => { | ||
const isMatch = Object.entries(providedVariables).every(([key, val]) => { | ||
console.log('comparing', key, operationVariables[key], val); | ||
@@ -53,2 +53,3 @@ | ||
}); | ||
return isMatch; | ||
} | ||
@@ -55,0 +56,0 @@ |
{ | ||
"name": "@shopify/graphql-testing", | ||
"version": "0.0.0-snapshot-20230126043728", | ||
"version": "0.0.0-snapshot-20230126150057", | ||
"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
Sorry, the diff of this file is not supported yet
67356
929