Skip to content

Commit 22b06fe

Browse files
Kent C. Doddsbcoe
Kent C. Dodds
authored andcommitted
feat: better docs for excluding, thanks @kentdodds \o/
1 parent c4de9b4 commit 22b06fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ directory:
142142
}
143143
```
144144

145-
> Note: exclude defaults to `['test', 'test{,-*}.js']`, which would exclude
146-
the `test` directory as well as `test.js` and `test-*.js` files
145+
> Note: exclude defaults to `['test', 'test{,-*}.js', '**/*.test.js', '**/__tests__/**']`,
146+
which would exclude `test`/`__tests__` directories as well as `test.js`, `*.test.js`,
147+
and `test-*.js` files. Specifying your own exclude property overrides these defaults.
147148

148149
## Including Files
149150

0 commit comments

Comments
 (0)