[Bug]: visual-tests-addon
Automigration script incorrectly lists package name in main.ts/js file
#26814
Labels
visual-tests-addon
Automigration script incorrectly lists package name in main.ts/js file
#26814
Describe the bug
When using the visual-tests-addon automigrate script, the
@chromatic-com/storybook
dependency is correctly installed. However, the entry in the.storybook/main.*
file incorrectly adds@chromatic-dom/storybook
. Looks like it's just a typo; should becom
, butdom
is added.To Reproduce
Steps:
@storybook/test
library.npx storybook automigrate
commandDo you want to run the 'visual-tests-addon' migration on your project?
, replayY
Expect:
@chromatic-com/storybook
dependency in thenode_modules
directory exists@chromatic-com/storybook
addon should have been added to the.storybook/main.*
fileActual:
@chromatic-com/storybook
dependency is correctly installed and present@chromatic-dom/storybook
is added to the.storybook/main.*
fileSystem
Additional context
No response
The text was updated successfully, but these errors were encountered: