Skip to content

Commit

Permalink
Merge pull request #45 from astraldigital/add-typescript-matcher-note
Browse files Browse the repository at this point in the history
Add readme tip about typescript custom matchers
  • Loading branch information
Prior99 committed Jan 12, 2021
2 parents 988c043 + 70e7190 commit 2d03a20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Store the above code in a `setup-framework.js` file and specify it when configur
}
```

_TypeScript Tip: to enable jest matcher types for `toMatchImageSnapshot()`, use a `*.ts` for your setup file._

### Installing the reporter

In order to generate the report, the reporter must be registered in the Jest configuration:
Expand Down

0 comments on commit 2d03a20

Please sign in to comment.