Skip to content

Commit

Permalink
Add custom setup file instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mattphillips committed Sep 8, 2022
1 parent 9e68dc4 commit 049d705
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ Add `jest-expect-message` to your Jest `setupFilesAfterEnv` configuration.
}
```

If you have a custom setup file and want to use this library then add the following to your setup file.

```js
import "jest-expect-message";
```

### Configure Typescript

Add the following entry to your tsconfig to enable Typescript support.
Expand Down

0 comments on commit 049d705

Please sign in to comment.