mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
Spelling mistake
This commit is contained in:
committed by
Michał Pierzchała
parent
ad66a5489d
commit
7c0ee5683f
@@ -15,7 +15,7 @@ Node 8 reached its EOL more than 5 months ago, so it's about time to target the
|
||||
|
||||
You should be able to safely remove all `afterEach(cleanup)` calls in your code.
|
||||
|
||||
This change might break your code, if you tests are not isolated, i.e. you call `render` outside `test` block. Generally, you should [keep your tests isolated](https://kentcdodds.com/blog/test-isolation-with-react), but if you can't or don't want to do this right away you can prevent this behavior using any of the foloowing ways:
|
||||
This change might break your code, if you tests are not isolated, i.e. you call `render` outside `test` block. Generally, you should [keep your tests isolated](https://kentcdodds.com/blog/test-isolation-with-react), but if you can't or don't want to do this right away you can prevent this behavior using any of the following ways:
|
||||
|
||||
1. by importing `'react-native-testing-library/pure'` instead of `'react-native-testing-library'`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user