Why does the unit test not fail locally even though a component is used that does not exist but in bitbucket pipeline it does?
To demostrate the problem I have created a new nx workspace (Repository).
When running 'npx jest' locally, a console.error comes up that the component is not known but the test does not fail. On the other hand, the same command causes the opposite in the pipeline (Pipeline). It's a big problem for us because by having the unit tests fail only in the pipeline, we lose a lot of time to get them up and running again.