Rouven T. Kruse

Results 5 comments of Rouven T. Kruse

I debugged a bit and found out, that the `--config` argument gets passed twice to jest: > index.ts in function runJest(options, context) -> buildArgv ```sh [ '--tsConfig=./src/tsconfig.spec.json', '--no-cache', '--config=test', '--globalMocks=getComputedStyle',...

Correct. I just tested it with @angular-builders/jest v13.0.3 and Angular 14.0.0 and it shows the same error, so it seems to be a side effect of Angular changes.

https://github.com/RTK/angular-builders-jest-example Setup via "npm install" and then run "ng test --configuration=test", then you should get the error I described. The workaround works for now, thanks!

Unfortunately no since both angular configuration AND jest configuration have the same -c alias