Skip to content

Commit dd22b25

Browse files
authored
docs(no-large-snapshot): mention --ext snap
1 parent a4d9cb3 commit dd22b25

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/rules/no-large-snapshots.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ module.exports = {
2424
};
2525
```
2626

27+
In order to check external snapshots, you must also have `eslint` check files
28+
with the `.snap` extension by passing `--ext snap`.
29+
2730
## Rule details
2831

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

0 commit comments

Comments
 (0)