Skip to content

Commit

Permalink
chore(docs): fix typos (#6865)
Browse files Browse the repository at this point in the history
* chore(docs): fix typos

* chore(docs): add changeset
  • Loading branch information
mkrl authored Jan 16, 2025
1 parent 6fe27dd commit 309748d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-stingrays-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-tools/mock': patch
---

Fixed typos in the documentation
4 changes: 2 additions & 2 deletions packages/mock/src/MockStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,9 @@ function assertIsDefined<T>(value: T, message?: string): asserts value is NonNul
/**
* Will create `MockStore` for the given `schema`.
*
* 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.
*
* Its API also allows to modify the stored values.
Expand Down
2 changes: 1 addition & 1 deletion packages/mock/src/mockServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { addMocksToSchema } from './addMocksToSchema.js';
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
* variables. Note: when executing queries from the returned server, context and
* root will both equal `{}`.
Expand Down

0 comments on commit 309748d

Please sign in to comment.