Merge pull request #1421 from jakeherp/patch-1
This commit is contained in:
commit
4dbdd73c52
4
jest.md
4
jest.md
|
@ -124,8 +124,12 @@ See: [expect()](http://facebook.github.io/jest/docs/en/expect.html#expectvalue)
|
|||
```js
|
||||
expect(value)
|
||||
.toMatchSnapshot()
|
||||
.toMatchInlineSnapshot()
|
||||
```
|
||||
|
||||
Note that `toMatchInlineSnapshot()` requires Prettier to be set up for the project.
|
||||
See: [Inline snapshots](https://jestjs.io/docs/en/snapshot-testing#inline-snapshots)
|
||||
|
||||
### Errors
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in New Issue