-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Open
Description
Describe the bug
I was trying to use storybook with svelte, and stumbled desperately on the error "No test suite found in file "...Page.stories.svelte".
After seeing #29572, I realized that my path contained a hyphenated character (é) ; removing it solved the problem.
Reproduction link
https://github.com/Evarin/storybook-path-issue
Reproduction steps
- Go to the above link
- Install and run
npx vitest --project=storybook - Observe the errors:
FAIL storybook (chromium) src/stories/Button.stories.svelte [ src/stories/Button.stories.svelte ]
Error: No test suite found in file /mnt/Data/teststorybook/tést/src/stories/Button.stories.svelte
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
FAIL storybook (chromium) src/stories/Header.stories.svelte [ src/stories/Header.stories.svelte ]
Error: No test suite found in file /mnt/Data/teststorybook/tést/src/stories/Header.stories.svelte
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
FAIL storybook (chromium) src/stories/Page.stories.svelte [ src/stories/Page.stories.svelte ]
Error: No test suite found in file /mnt/Data/teststorybook/tést/src/stories/Page.stories.svelte
Those errors disappear if you rename "tést" "test"
System
System:
│ OS: Linux 6.8 Linux Mint 22.1 (Xia)
│ CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
│ Shell: 5.2.21 - /bin/bash
│ Binaries:
│ Node: 24.5.0 - /usr/local/bin/node
│ npm: 11.5.1 - /usr/local/bin/npm
│ pnpm: 10.14.0 - /home/evarin/.local/share/pnpm/pnpm <----- active
│ Browsers:
│ Firefox: 146.0.1Additional context
No response
dosubot