Skip to content

Commit

Permalink
Fix typo in docs. (jestjs#7414)
Browse files Browse the repository at this point in the history
  • Loading branch information
H1Gdev authored and captain-yossarian committed Jul 18, 2019
1 parent c01b4c7 commit aa55a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ React 16 triggers these warnings due to how it checks element types, and the moc
```js
jest.mock('fbjs/lib/warning', () => require('fbjs/lib/emptyFunction'));
```
This shouldn't normally be your option of choice as useful warnings could be lost. However, in some cases, for example when testing react-native's components we are rendering react-native tags into the DOM and many warnings are irrelevant. Another option is to swizzling console.warn and supress specific warnings.
This shouldn't normally be your option of choice as useful warnings could be lost. However, in some cases, for example when testing react-native's components we are rendering react-native tags into the DOM and many warnings are irrelevant. Another option is to swizzling console.warn and suppress specific warnings.
### DOM Testing
Expand Down

0 comments on commit aa55a95

Please sign in to comment.