Skip to content

Commit 36304e7

Browse files
committed
docs(no-large-snapshots): mention --ext snap
1 parent 68184bf commit 36304e7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/rules/no-large-snapshots.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ 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 either passing `--ext snap` on the command line or
29+
by explicitly specifying `.snap` in `overrides`.
30+
2731
## Rule details
2832

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

0 commit comments

Comments
 (0)