We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac541ca commit 25a56c0Copy full SHA for 25a56c0
test/utils.js
@@ -48,10 +48,10 @@ const _runQuery = function({
48
);
49
50
applySchemaCustomDirectives(executionSchema);
51
-
52
- return graphql(executionSchema, query, input, {
+ const contextValue = context || {
53
req: {body: {query, variables: {}}}
54
- });
+ };
+ return graphql(executionSchema, query, input, contextValue);
55
};
56
57
exports.testEqual = function({
0 commit comments