You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can easily test this using any locally available pre-built storybook. Start a local server using http-server and try to run tests using --index-json flag. It will not be honored and storybook will try to read the storybook configuration which is not needed in index-json mode.
System
NA. Happening in every system.
Additional context
No response
The text was updated successfully, but these errors were encountered:
I have a fix #539, but feel free to close if this is intentional. I unblocked my org with a patch for an older version of the package (as we are using storybook 7) so I am not in any hurry for this.
Describe the bug
This is what the readme mentions
If you are running tests against a local Storybook but for some reason want to run in "index.json mode", you can pass the
--index-json
flag:However the code looks something like this (permalink)
Which will resolve to false even if the flag is passed. This seems like a bug.
The correct code should be
To Reproduce
You can easily test this using any locally available pre-built storybook. Start a local server using http-server and try to run tests using
--index-json
flag. It will not be honored and storybook will try to read the storybook configuration which is not needed in index-json mode.System
NA. Happening in every system.
Additional context
No response
The text was updated successfully, but these errors were encountered: