Skip to content

Commit

Permalink
chore(docs): fix typos (#8696)
Browse files Browse the repository at this point in the history
Fixes #7437
  • Loading branch information
monish001 authored and SimenB committed Jul 16, 2019
1 parent ccf90c0 commit ca10069
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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 suppress 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 swizzle the console.warn and suppress specific warnings.
### DOM Testing
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-23.x/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,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 swizzle the console.warn and suppress specific warnings.
### DOM Testing
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-24.0/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,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 suppress 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 swizzle the console.warn and suppress specific warnings.
### DOM Testing
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-24.8/TutorialReact.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,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 suppress 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 swizzle the console.warn and suppress specific warnings.
### DOM Testing
Expand Down

0 comments on commit ca10069

Please sign in to comment.