Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix typos #6865

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading