Open marvinfretly opened 3 years ago
Yes, I started experiencing the same.
Using Jest for running tests.
Jest config also contains such setting:
transformIgnorePatterns: ["./node_modules/(?!ngx-google-places-autocomplete)"],
In my case I can resolve this issue by removing node_modules and launching "npm ci"
Hello, I'm always getting this type of errors when I'm testing components:
My
src/app/modules/tender/summary/summaryActions/summaryActions.component.spec.ts:89:23
is:fixture = TestBed.createComponent(TestHostComponent);
I'm getting it even if I'm not using it in this component, just the fact that my app.module is importing GooglePlaceModule make it throw this error.
I'm also getting this error:
For this error my
src/app/modules/tender/summary/summaryActions/summaryActions.component.spec.ts:80:39
is:httpTestingController = TestBed.inject(HttpTestingController);
I don't think that theses errors are coming from me since everything are ok if I remove it from the app.module declaration, and I'm only getting it when testing. Do someone else have the same errors as me ?