@graphql-tools/mock 9.0.14 → 9.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/MockStore.js CHANGED
@@ -478,9 +478,9 @@ function assertIsDefined(value, message) {
478
478
  /**
479
479
  * Will create `MockStore` for the given `schema`.
480
480
  *
481
- * A `MockStore` will generate mock values for the given schem when queried.
481
+ * A `MockStore` will generate mock values for the given schema when queried.
482
482
  *
483
- * It will stores generated mocks, so that, provided with same arguments
483
+ * It will store generated mocks, so that, provided with same arguments
484
484
  * the returned values will be the same.
485
485
  *
486
486
  * Its API also allows to modify the stored values.
package/cjs/mockServer.js CHANGED
@@ -5,7 +5,7 @@ const graphql_1 = require("graphql");
5
5
  const schema_1 = require("@graphql-tools/schema");
6
6
  const addMocksToSchema_js_1 = require("./addMocksToSchema.js");
7
7
  /**
8
- * A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
8
+ * A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
9
9
  * to your schema and returns a client that will correctly execute your query with
10
10
  * variables. Note: when executing queries from the returned server, context and
11
11
  * root will both equal `{}`.
package/esm/MockStore.js CHANGED
@@ -472,9 +472,9 @@ function assertIsDefined(value, message) {
472
472
  /**
473
473
  * Will create `MockStore` for the given `schema`.
474
474
  *
475
- * A `MockStore` will generate mock values for the given schem when queried.
475
+ * A `MockStore` will generate mock values for the given schema when queried.
476
476
  *
477
- * It will stores generated mocks, so that, provided with same arguments
477
+ * It will store generated mocks, so that, provided with same arguments
478
478
  * the returned values will be the same.
479
479
  *
480
480
  * Its API also allows to modify the stored values.
package/esm/mockServer.js CHANGED
@@ -2,7 +2,7 @@ import { graphql, isSchema } from 'graphql';
2
2
  import { makeExecutableSchema } from '@graphql-tools/schema';
3
3
  import { addMocksToSchema } from './addMocksToSchema.js';
4
4
  /**
5
- * A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
5
+ * A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
6
6
  * to your schema and returns a client that will correctly execute your query with
7
7
  * variables. Note: when executing queries from the returned server, context and
8
8
  * root will both equal `{}`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/mock",
3
- "version": "9.0.14",
3
+ "version": "9.0.15",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -56,9 +56,9 @@ export declare class MockStore implements IMockStore {
56
56
  /**
57
57
  * Will create `MockStore` for the given `schema`.
58
58
  *
59
- * A `MockStore` will generate mock values for the given schem when queried.
59
+ * A `MockStore` will generate mock values for the given schema when queried.
60
60
  *
61
- * It will stores generated mocks, so that, provided with same arguments
61
+ * It will store generated mocks, so that, provided with same arguments
62
62
  * the returned values will be the same.
63
63
  *
64
64
  * Its API also allows to modify the stored values.
@@ -56,9 +56,9 @@ export declare class MockStore implements IMockStore {
56
56
  /**
57
57
  * Will create `MockStore` for the given `schema`.
58
58
  *
59
- * A `MockStore` will generate mock values for the given schem when queried.
59
+ * A `MockStore` will generate mock values for the given schema when queried.
60
60
  *
61
- * It will stores generated mocks, so that, provided with same arguments
61
+ * It will store generated mocks, so that, provided with same arguments
62
62
  * the returned values will be the same.
63
63
  *
64
64
  * Its API also allows to modify the stored values.
@@ -1,7 +1,7 @@
1
1
  import { TypeSource } from '@graphql-tools/utils';
2
2
  import { IMocks, IMockServer } from './types.cjs';
3
3
  /**
4
- * A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
4
+ * A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
5
5
  * to your schema and returns a client that will correctly execute your query with
6
6
  * variables. Note: when executing queries from the returned server, context and
7
7
  * root will both equal `{}`.
@@ -1,7 +1,7 @@
1
1
  import { TypeSource } from '@graphql-tools/utils';
2
2
  import { IMocks, IMockServer } from './types.js';
3
3
  /**
4
- * A convenience wrapper on top of addMocksToSchema. It adds your mock resolvers
4
+ * A convenience wrapper on top of `addMocksToSchema`. It adds your mock resolvers
5
5
  * to your schema and returns a client that will correctly execute your query with
6
6
  * variables. Note: when executing queries from the returned server, context and
7
7
  * root will both equal `{}`.