Open msakrejda opened 2 years ago
Digging into this a bit, I found that the problem was probably an outdated @babel/core
. I updated it and then started getting an error similar to https://github.com/storybookjs/storybook/issues/12893, but I followed the recommendation to remove node_modules and reinstall them, and that seems to have fixed things.
Should the deps be updated to require a recent-enough version? (I can track down what that version should be and submit a PR.)
When I run my tests, every suite fails with the "is not a function" error in the issue title. Here are the full details for one failure:
This is my jest config:
Versions:
jest: 27.2.4 babel-jest: 27.2.4 vite-jest: 0.0.3
Any ideas?