Skip to content
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

addon-jest - Tests not being found #4679

Closed
lflpowell opened this issue Nov 1, 2018 · 1 comment
Closed

addon-jest - Tests not being found #4679

lflpowell opened this issue Nov 1, 2018 · 1 comment

Comments

@lflpowell
Copy link
Contributor

Tests are not being found within the jest-test-results.json file

The issue seems to be this commit 7aa23d4#r31119578

Where Storybook is creating a regex structure such as MyTest.((\.specs?)|(\.tests?))?(\.js)?$, however that is then used to test against a path string using includes which will never work.

Expected behavior
Tests to be returned.

Reverting it back to the version of using a RegExp test works as expected.

@igor-dv
Copy link
Member

igor-dv commented Nov 1, 2018

Duplicate to #4497

@igor-dv igor-dv closed this as completed Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants