Skip to content

Commit

Permalink
docs(no-large-snapshot): mention --ext snap
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed May 13, 2023
1 parent a4d9cb3 commit dd22b25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/rules/no-large-snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module.exports = {
};
```

In order to check external snapshots, you must also have `eslint` check files
with the `.snap` extension by passing `--ext snap`.

## Rule details

This rule looks at all Jest inline and external snapshots (files with `.snap`
Expand Down

0 comments on commit dd22b25

Please sign in to comment.