[Bug]: Storybook 9 - Storybook Test postinstall does not detect vitest.projects.ts file #31125
Labels
addon: test
bug
internal-qa
This issue was reported by the Storybook team, potentially on unreleased or prerelease software.
needs triage
Milestone
Describe the bug
In Vitest, normally users write
vitest.workspace.ts
file to configure their setup, but avitest.projects.ts
file is also possible, as an alias to workspace. Check the docs here.When installing Storybook vitest addon, it doesn't detect a projects file.
Steps:
vitest.workspace.ts
filevitest.projects.ts
npx storybook add @storybook/addon-vitest
vitest.workspace.ts
fileExpected behavior:
It should do the same as it would with a workspaces file, but in the projects file instead.
Reproduction link
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: