Skip to content

Commit

Permalink
Fix typo (facebook#3478)
Browse files Browse the repository at this point in the history
'more' and 'simpler' together is incorrect.
  • Loading branch information
davidgilbertson authored and gaearon committed Jan 9, 2018
1 parent 8a23a4e commit bbf5371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ it('renders welcome message', () => {
All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/en/expect.html).<br>
Nevertheless you can use a third-party assertion library like [Chai](http://chaijs.com/) if you want to, as described below.

Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzyme-matchers) helpful to simplify your tests with readable matchers. The above `contains` code can be written simpler with jest-enzyme.
Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzyme-matchers) helpful to simplify your tests with readable matchers. The above `contains` code can be written more simply with jest-enzyme.

```js
expect(wrapper).toContainReact(welcome)
Expand Down

0 comments on commit bbf5371

Please sign in to comment.