@graphql-tools/mock
Advanced tools
Comparing version 9.0.14 to 9.0.15
@@ -8,3 +8,3 @@ "use strict"; | ||
/** | ||
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers | ||
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers | ||
* to your schema and returns a client that will correctly execute your query with | ||
@@ -11,0 +11,0 @@ * variables. Note: when executing queries from the returned server, context and |
@@ -481,5 +481,5 @@ "use strict"; | ||
* | ||
* A `MockStore` will generate mock values for the given schem when queried. | ||
* A `MockStore` will generate mock values for the given schema when queried. | ||
* | ||
* It will stores generated mocks, so that, provided with same arguments | ||
* It will store generated mocks, so that, provided with same arguments | ||
* the returned values will be the same. | ||
@@ -486,0 +486,0 @@ * |
@@ -5,3 +5,3 @@ import { graphql, isSchema } from 'graphql'; | ||
/** | ||
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers | ||
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers | ||
* to your schema and returns a client that will correctly execute your query with | ||
@@ -8,0 +8,0 @@ * variables. Note: when executing queries from the returned server, context and |
@@ -475,5 +475,5 @@ import stringify from 'fast-json-stable-stringify'; | ||
* | ||
* A `MockStore` will generate mock values for the given schem when queried. | ||
* A `MockStore` will generate mock values for the given schema when queried. | ||
* | ||
* It will stores generated mocks, so that, provided with same arguments | ||
* It will store generated mocks, so that, provided with same arguments | ||
* the returned values will be the same. | ||
@@ -480,0 +480,0 @@ * |
{ | ||
"name": "@graphql-tools/mock", | ||
"version": "9.0.14", | ||
"version": "9.0.15", | ||
"description": "A set of utils for faster development of GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
import { TypeSource } from '@graphql-tools/utils'; | ||
import { IMocks, IMockServer } from './types.js'; | ||
/** | ||
* A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers | ||
* A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers | ||
* to your schema and returns a client that will correctly execute your query with | ||
@@ -6,0 +6,0 @@ * variables. Note: when executing queries from the returned server, context and |
@@ -59,5 +59,5 @@ import { GraphQLSchema } from 'graphql'; | ||
* | ||
* A `MockStore` will generate mock values for the given schem when queried. | ||
* A `MockStore` will generate mock values for the given schema when queried. | ||
* | ||
* It will stores generated mocks, so that, provided with same arguments | ||
* It will store generated mocks, so that, provided with same arguments | ||
* the returned values will be the same. | ||
@@ -64,0 +64,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111595