Closed vytautas-pranskunas- closed 2 years ago
I have upgraded project to "jest": "^24.5.0" and "@types/jest": "^23.3.3", and started receiving errors on mockReturnValue
mockReturnValue
loggerService = createMockInstance(RemoteLogger); loggerService.log.mockReturnValue(new Subject());
Argumen type is not assignable to type.... which, i think, means interfaces are not up to date. Also upgrading to latest 1.1 package version brings another error when doing createMockInstance(ComponentFactoryResolver); with similar error
Argumen type is not assignable to type....
createMockInstance(ComponentFactoryResolver);
I have upgraded project to "jest": "^24.5.0" and "@types/jest": "^23.3.3", and started receiving errors on
mockReturnValue
Argumen type is not assignable to type....
which, i think, means interfaces are not up to date. Also upgrading to latest 1.1 package version brings another error when doingcreateMockInstance(ComponentFactoryResolver);
with similar error