Moved from https://github.com/storybooks/storybook-addon-jest/issues/4
Right now if you don't provide one this will append undefined to the end of the regex:
Looks like it's just a matter of using empty string as a default value. If anybody wants to make a PR, go for it
If anyone new to storybook or open source in general wants to take this issue, I'm available to help!
@ndelangen just dabbling into open source. Would make a PR.
@Promhize
You'll have to
feature/default-addons/jest/src/index.jsjs
const findTestResults = (testFiles, jestTestResults, jestTestFilesExt) =>
js
const findTestResults = (testFiles, jestTestResults, jestTestFilesExt = '') =>
@ndelangen thanks. Looking to make further contributions. You all are awesome
Already done. Check README here: https://github.com/storybooks/storybook/tree/master/addons/jest#withtestsoptions
Done, but not released yet
Actually it was release in 3.2.16 but not well documented:
https://unpkg.com/@storybook/addon[email protected]/dist/index.js#pos_47
Commit: https://github.com/storybooks/storybook/commit/d185d1abd7e15e0c435bdb740d0ac44e784d58c4#diff-c1ceced995a7529ca1ae8fcb2a0f4aafR26
Oh. Should we revert https://github.com/storybooks/storybook/pull/2373 then?
Yes, please. Sorry for the lack of documentation regarding it.
@Promhize drop by our slack channel.
That way we can collaborate much easier and faster, if you want to do more collaboration I can help get you on-boarded on the project.
Most helpful comment
@ndelangen just dabbling into open source. Would make a PR.