Hi, after updating to the latest version our tests are failing on:
● Test suite failed to run
Cannot find module 'expect/build/jasmineUtils' from 'node_modules/jest-when/src/when.js'
Require stack:
node_modules/jest-when/src/when.js
some.test.ts
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:306:11)
at Object.<anonymous> (node_modules/jest-when/src/when.js:2:15)
Hi, after updating to the latest version our tests are failing on:
If I understand it correctly it is related to https://github.com/timkindberg/jest-when/pull/84 and
expect
package.In our project, we don't have any
expect
package directly innode_modules
, only in subfolders.Any ideas on how to best fix it? I was not able to replicate this in a fresh project.
I guess one solution could be convincing npm to install one
expect
version directly to node_modules.