react-docgen is set to run against all jsx and js files in extract-meta.js, as a result any Jest test files will throw warnings.
The boilerplate was my entrypoint to dash-generate-components so it took me an embarrassingly long time to find the ignore option.
This PR adds an example ignore pattern of a common Jest test filename pattern. Hopefully it also would give users a starting point to setup their own ignore without having to determine the format / escaping.
react-docgen is set to run against all jsx and js files in
extract-meta.js
, as a result any Jest test files will throw warnings.The boilerplate was my entrypoint to dash-generate-components so it took me an embarrassingly long time to find the ignore option.
This PR adds an example ignore pattern of a common Jest test filename pattern. Hopefully it also would give users a starting point to setup their own ignore without having to determine the format / escaping.
The more complex Jest default is here: https://jestjs.io/docs/configuration#testmatch-arraystring
Any question or concerns please just let me know, especially if I'm missing a part of your PR process. Cheers!