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
** Disclaimer** This information might be inaccurate, due to it being generated automatically
This can be fixed by updating the dependencies in @storybook/test package.json to use a more flexible version range that aligns with Vitest v3 support: diff // @storybook/test/package.json { "dependencies": { - "@vitest/expect": "2.0.5", - "@vitest/spy": "2.0.5" + "@vitest/expect": "^2.0.0 || ^3.0.0", + "@vitest/spy": "^2.0.0 || ^3.0.0" } } This will allow compatibility with both Vitest v2 and v3 while maintaining the functionality of expect.extend.
About Greptile
This response provides a starting point for your research, not a precise solution.
Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
Describe the bug
Storybook + Vitest integration supports Vitest v3, but individual packages like
@storybook/test
is using a pinned version for Vitest dependency:Reproduction link
n/a atm
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: