Skip to content

Commit

Permalink
Update jest custom matchers instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLefkowitz committed Jul 14, 2024
1 parent bc8dd4d commit 04b73ee
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,15 @@ Custom Jest matchers are exposed for testing validators:

```json
{
"setupFilesAfterEnv": ["reviewed/testing/jest"]
"setupFilesAfterEnv": ["reviewed/dist/testing/jest.js"]
}
```

`tsconfig.json`

```json
{
"files": ["node_modules/reviewed/dist/testing/jest.d.ts"]
}
```

Expand Down

0 comments on commit 04b73ee

Please sign in to comment.