Should jest.clearAllMocks() be called manually when automatic mock restoration is enabled?
Context Jest 27.0.6 introduced an explicit cleanup step during test environment teardown that deletes mock registry entries, resolving a memory leak observed when jest.spyOn combined with mockImplementationOnce was used repeatedly in watch mode. Automatic mock restoration between tests has been a documented feature since earlier versions, yet the official gu