Equivalent of and.callThrough() in jest-preset-angular

This question may be really old, but tripped me up recently.

Jest, by default, will call the underlying function in a similar manner to .and.callThrough().

This is the opposite behaviour of Jasmine, which blocks the call to the underlying function unless .and.callThrough() is specified.

To block the underlying call in Jest, call the mockImplementation() function.