@testing-library/dom/pure renderHook has global side-effects Steps to reproduce clone this repository yarn install yarn start Expected behavior console.error is not mutated Actual behavior console.error is mutated