New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jest-addon is not getting any jest-test-results #4497
Comments
Looks appeared after #3983. |
I ran into this issue today. a working config for the withTests function looks like this currently:
filesExt doesn't look to support regex either. |
@aschlick do you think you could help us get the addon-jest into a better shape? |
Sure! Hopefully I'll get a pull request together within a week or so. |
Workaround similar to above worked for me, currently the addon is concatting the string in addDecorator(
withTests({
results,
filesExt: ".test.tsx", // tsx in my case!
}),
); |
Bug or support request summary
It seems that jest-addon is not getting any jest-test-results, resulting in message: This story has tests configured, but no file was found
Steps to reproduce
You can find the same message here https://storybooks-official.netlify.com/?selectedKind=Addons%7Cjest&selectedStory=withTests&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Ftests%2Fpanel
Please specify which version of Storybook and optionally any affected addons that you're running
Where to start
It might be related to this issue #4453
The text was updated successfully, but these errors were encountered: