We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require
I ran pnpm test-storybook --eject, and the config file that was created includes
pnpm test-storybook --eject
const { getJestConfig } = require('../dist');
Which doesn't exist in my project.
pnpm test-storybook --eject then try to run the test runner.
System: OS: macOS 14.5 CPU: (12) arm64 Apple M2 Max Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.1 - ~/Library/Caches/fnm_multishells/92814_1717685993908/bin/node npm: 10.7.0 - ~/Library/Caches/fnm_multishells/92814_1717685993908/bin/npm pnpm: 8.14.2 - ~/Library/Caches/fnm_multishells/92814_1717685993908/bin/pnpm <----- active Browsers: Safari: 17.5 npmPackages: @storybook/addon-a11y: 8.1.5 => 8.1.5 @storybook/addon-essentials: 8.1.5 => 8.1.5 @storybook/addon-interactions: 8.1.5 => 8.1.5 @storybook/react: 8.1.5 => 8.1.5 @storybook/react-vite: 8.1.5 => 8.1.5 @storybook/test: 8.1.5 => 8.1.5 @storybook/test-runner: ^0.18.2 => 0.18.2 @storybook/types: 8.1.5 => 8.1.5 chromatic: ^11.4.0 => 11.4.0 eslint-plugin-storybook: ^0.8.0 => 0.8.0 storybook: 8.1.5 => 8.1.5
No response
The text was updated successfully, but these errors were encountered:
in case you didnt find the short term fix, you need this instead: const { getJestConfig } = require('@storybook/test-runner');
const { getJestConfig } = require('@storybook/test-runner');
Sorry, something went wrong.
Yep, thanks, but I think that's what ejecting should add instead of what it does.
Successfully merging a pull request may close this issue.
Describe the bug
I ran
pnpm test-storybook --eject
, and the config file that was created includesWhich doesn't exist in my project.
To Reproduce
pnpm test-storybook --eject
then try to run the test runner.System
Additional context
No response
The text was updated successfully, but these errors were encountered: