Skip to content

Commit 5145a70

Browse files
Josh Justicethymikee
Josh Justice
authored andcommitted
docs: Clarify RNTL is tested to work with Jest (#98)
As discussed in #96, I found that I could get RNTL working with Jest but not with Mocha. I haven't _confirmed_ it doesn't work with Mocha, but I think it would be helpful for users (like me) who don't have a strong preference which runner to use, to know that Jest could be a good first choice.
1 parent b82b4f5 commit 5145a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You finally want to approach testing using only best practices, while Enzyme may
2323

2424
The `react-native-testing-library` is a lightweight solution for testing your React Native components. It provides light utility functions on top of `react-test-renderer` letting you always be up to date with latest React features and write any component tests you like, be it shallow or deeply rendered ones. But really not any, it prevents you from testing implementation details because we stand this is a very bad practice.
2525

26-
This library is a replacement for [Enzyme](http://airbnb.io/enzyme/).
26+
This library is a replacement for [Enzyme](http://airbnb.io/enzyme/). It is tested to work with Jest, but it should work with other test runners as well.
2727

2828
## Example
2929

0 commit comments

Comments
 (0)