Configurable vitest timeout (Slow Computers Cannot Run Vitest From Storybook) #34169
matthew-salerno
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Slower computers (in particular, vms operating on shared CPU) crash when running vitest tests from storybook, with the error:
Describe the solution you'd like
The MAX_START_TIME value can be configured.
Describe alternatives you've considered
MAX_START_TIME is set so high that it wouldn't be an issue even on very slow computers. Something like 600,000 ms.
Are you able to assist to bring the feature to reality?
no
Additional context
The timeout for starting vitest tests is currently hardcoded:
storybook/code/addons/vitest/src/node/boot-test-runner.ts
Line 23 in 546aece
Beta Was this translation helpful? Give feedback.
All reactions