My tests run fine locally, but in CircleCI I get this error “Cannot find module ‘shared-data-model’” which is one of my Yarn workspaces.
The stack trace of the error points to Resolver.resolveModule (../node_modules/@jest/core/node_modules/jest-resolve/build/index.js:276:11)
Jest 25.1.0
Yarn 1.22
Node.js 12.16
Any ideas what could be causing this? Thank you