Skip to content

Commit

Permalink
Testing utility docs (#11805)
Browse files Browse the repository at this point in the history
* feat: set up docs

* feat: draft new testing utilities docs

* first round of review fixes

* second round of review edits

* third round of review edits

* more edits

* more edits

* Update docs/source/development-testing/schema-driven-testing.mdx

Co-authored-by: Lenz Weber-Tronic <[email protected]>

* add msw vs createschemafetch faq section

* add msw example

* add a "Modifying a test schema using `testSchema.add` and `testSchema.fork`" section

---------

Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
alessbell and phryneas authored Apr 24, 2024
1 parent a26aacc commit 0843bf4
Show file tree
Hide file tree
Showing 4 changed files with 563 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
!/docs/source/development-testing
/docs/source/development-testing/**
!/docs/source/development-testing/reducing-bundle-size.mdx
!/docs/source/development-testing/schema-driven-testing.mdx

!docs/shared
/docs/shared/**
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api/react/hooks-experimental.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: Hooks (experimental)
description: Apollo Client experimental react hooks API reference
---

The latest minor version of Apollo Client (`3.8`) has no experimental hooks. Please see the [Hooks page](./hooks) for a list of available stable React hooks.
The latest minor version of Apollo Client has no experimental hooks. Please see the [Hooks page](./hooks) for a list of available stable React hooks.
1 change: 1 addition & 0 deletions docs/source/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"Developer tools": "/development-testing/developer-tooling",
"Using TypeScript": "/development-testing/static-typing",
"Testing React components": "/development-testing/testing",
"Schema-driven testing": "/development-testing/schema-driven-testing",
"Mocking schema capabilities": "/development-testing/client-schema-mocking",
"Reducing bundle size": "/development-testing/reducing-bundle-size"
},
Expand Down
Loading

0 comments on commit 0843bf4

Please sign in to comment.