diff --git a/jest.md b/jest.md index e02d1f6ae..5052ec17d 100644 --- a/jest.md +++ b/jest.md @@ -115,8 +115,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