Allow to override `restoreMocks` in Jest configuration
Created by: aigoncharov
Is your proposal related to a problem?
I'm wondering if it makes sense to add restoreMocks considering that we already have resetMocks. (Raised in #3116 (closed), closed in #3802)