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

Respect main.js glob in selecting story files #30

Closed
3 tasks
shilman opened this issue Jan 18, 2022 · 1 comment
Closed
3 tasks

Respect main.js glob in selecting story files #30

shilman opened this issue Jan 18, 2022 · 1 comment
Labels
feature request New feature or request linear

Comments

@shilman
Copy link
Member

shilman commented Jan 18, 2022

Describe the bug

Currently the test-runner selects *.stories.[tj]sx? but this information is already more precisely specified in .storybook/main.js.

We should use main.js to select the stories:

  • Regular globs
  • Strip out MDX
  • Handle CSF3-style specifiers
@shilman
Copy link
Member Author

shilman commented Mar 2, 2022

implemented in #46

@shilman shilman closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request linear
Projects
None yet
Development

No branches or pull requests

1 participant