Skip to content

Commit

Permalink
some typos (#10771)
Browse files Browse the repository at this point in the history
<!--
  Have any questions? Check out the contributing docs at https://gatsby.app/contribute, or
  ask in this Pull Request and a Gatsby maintainer will be happy to help :)
-->

## Description

<!-- Write a brief description of the changes introduced by this PR -->

## Related Issues

<!--
  Link to the issue that is fixed by this PR (if there is one)
  e.g. Fixes #1234, Addresses #1234, Related to #1234, etc.
-->
  • Loading branch information
iadityavs authored and DSchau committed Jan 2, 2019
1 parent 828499d commit 57b429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/testing-components-with-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ side-effects apart from their return value. This means we can be sure the tests
are always reproducible and don't fail if, for example, the network is down or
the data source changes. In this example, `Header` is impure as it makes a
query, so the output depends on something apart from its props. `PureHeader` is
pure because its return value is entirely dependent on the props passed it it.
pure because its return value is entirely dependent on the props passed to it.
This means it's very easy to test, and a snapshot should never change.

Here's how:
Expand Down

0 comments on commit 57b429a

Please sign in to comment.