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
Hey there,
I am pretty new to webpack and jest and I am trying to add tests to a new codebase I just started contributing to.
I followed the docs for the set up but when I run webpack && jest pointing to my config file I get the following issue
compiler.parser.plugin('call jest.dontMock', resolveArgument);
^
TypeError: Cannot read property 'plugin' of undefined
at JestpackPlugin.apply (/node_modules/jestpack/Plugin.js:34:25)
at plugins.forEach.plugin (/usr/local/lib/node_modules/webpack/node_modules/enhanced-resolve/lib/ResolverFactory.js:276:10)
at Array.forEach (<anonymous>)```
Activity