- Changed
mock()
to no longer use recursive types. OnlydeepMock()
does that now. This should reduce thetsc
compile time for large projects. - Added
stub()
for usecases where you need a mock object with no expectations. - Added support for Jest 27, although blocked by jestjs/jest#11677
Potential backwards compatibility issues for use of mock() where deepMock() may be required. This may result in TS errors.