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
Describe the bug
When running storyshoot tests using the @storybook/addon-storyshots addon I am getting the error message "TypeError: Super expression must either be null or a function"
Describe the bug
When running storyshoot tests using the
@storybook/addon-storyshots
addon I am getting the error message "TypeError: Super expression must either be null or a function"To Reproduce
Reproduced here: https://github.com/kmurgic/storyshots-super-expression-failure
git clone https://github.com/kmurgic/storyshots-super-expression-failure.git
npm i
npm run storybook
npm test
Expected
The tests run without issue 🥳
Actual
The tests fail with the error message
TypeError: Super expression must either be null or a function
System
Environment Info:
System:
OS: Linux 5.4 Ubuntu 20.04.4 LTS (Focal Fossa)
CPU: (12) x64 Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
Binaries:
Node: 14.15.1 - ~/.nvm/versions/node/v14.15.1/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v14.15.1/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.1/bin/npm
Browsers:
Chrome: 99.0.4844.51
Firefox: 97.0
npmPackages:
@storybook/addon-essentials: ^6.4.19 => 6.4.19
@storybook/addon-storyshots: ^6.4.19 => 6.4.19
@storybook/addons: ^6.4.19 => 6.4.19
@storybook/react: ^6.4.19 => 6.4.19
Additional context
This was not working for me in a larger repo, created the new repo as a minimal reproduction.
The text was updated successfully, but these errors were encountered: