Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 8939db0

Browse files
authored
docs: update inspiration section
1 parent 808cdfc commit 8939db0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,23 @@ import { renderHook } from 'native-testing-library';
129129

130130
Reads more about hooks on the [docs site](https://native-testing-library.com/docs/api-render-hook).
131131

132-
## Prior art
132+
## Inspiration
133133

134134
Huge thanks to Kent C. Dodds for evangelizing this approach to testing. We could have never come up
135135
with this library without him 🙏. Check out his awesome work and learn more about testing with
136136
confidence at [testinghavascript.com](https://testingjavascript.com/) (you won't regret purchasing
137137
it), and of course, use this library's big brother, `react-testing-library` for your DOM
138138
applications as well!
139139

140-
Another huge source of inspiration was the original
141-
[`react-native-testing-library`](https://github.com/callstack/react-native-testing-library) made by
142-
the awesome engineers at [Callstack](https://callstack.com/). Seeing their implementation and how
143-
they solved some of the big gotchas with testing React Native using this philosphy was extremely
144-
helpful. (And if you know anyone looking for some React Native development, be sure to send them
145-
their way 😉.)
146-
147-
Last but not least, the hook testing ability of this library is quite literally the same as
140+
The hook testing ability of this library is the same implementation as
148141
[react-hooks-testing-library](https://github.com/mpeyper/react-hooks-testing-library). The only
149142
reason it was included in this package is because we need you to import render from us, not the
150143
`dom-testing-library`, and that's an important blocker. Some day, maybe we'll try to allow use of
151144
that library with this one somehow.
145+
146+
## Other Solutions
147+
148+
The awesome engineers at [Callstack](https://callstack.com/) built a similar package called
149+
[`react-native-testing-library`](https://github.com/callstack/react-native-testing-library).
150+
If you find yourself needing things like shallow rendering and the ability to query elements
151+
by type and props, you'll definitely want to check it out!

0 commit comments

Comments
 (0)