Update README.md

This commit is contained in:
Joe Haddad
2017-10-17 14:37:28 -04:00
committed by GitHub
parent 2d0ef6a436
commit 1a3017b717

View File

@@ -1236,7 +1236,7 @@ it('sums numbers', () => {
```
All `expect()` matchers supported by Jest are [extensively documented here](https://facebook.github.io/jest/docs/en/expect.html#content).<br>
You can also use [`jest.fn()` and `expect(fn).toBeCalled()`](http://facebook.github.io/jest/docs/expect.html#tohavebeencalled) to create “spies” or mock functions.
You can also use [`jest.fn()` and `expect(fn).toBeCalled()`](https://facebook.github.io/jest/docs/en/expect.html#tohavebeencalled) to create “spies” or mock functions.
### Testing Components