fix(jest-mock): do not restore mocks when jest.resetAllMocks()
is called
#13866
+330
−82
jest.resetAllMocks()
is called
#13866