Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

How should we properly handle mocking of console.warn() in Jest tests? #71

Open
cn894 opened this issue Jul 16, 2019 · 0 comments
Open
Labels
question Further information is requested

Comments

@cn894
Copy link
Member

cn894 commented Jul 16, 2019

This comes from a discussion in #70. We don't want the expected console.warn() calls to show up in Jest test runs. However, we don't want to swallow unexpected calls that could be legitimate problems.

This issue was created to act as a reminder to later explore this and re-examine the assumption that it will not pose problems in the short-term.

@cn894 cn894 added the question Further information is requested label Jul 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant