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

[BUG] Catalyst: Should skip the mocks file, if storybook is skipped. #41

Closed
tirthaguha-osttra opened this issue Dec 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tirthaguha-osttra
Copy link

Describe the bug
Should skip the mocks file, if storybook is skipped.

Name and version of the package
@jstb/catalyst

To Reproduce
Steps to reproduce the behavior:

  1. set skipStories:true in catalystConfig
  2. run npm run generate
  3. Select Component

Expected behavior
Should not create the mock JS or TS file

@tirthaguha
Copy link
Owner

Will not be fixed, since mock file can be used in jest as well

@github-project-automation github-project-automation bot moved this from Todo to Done in JS Toolbox Project Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants