I have an Angular CLI project that has the default Karma test runner. I used this tutorial to replace Karma with Jest and notice some tests are passing some failing.
For example, declaring a variable on test level:
let mockObj: jasmine.SpyObj<MyClass>;
throws the error:
error `"Namespace 'jasmine' has no exported member 'SpyObj'`
@angular-builders/jest: "^8.3.2"
jest: "^24.9.0"
jasmine-core: "3.5.0"
@types/jest: "^24.9.0"
@types/jasmine: "3.5.0"
@types/jasminewd2": "2.0.8"