Skip to content

fix: prop types error are not caught#6

Open
emilioSp wants to merge 1 commit intoeliihen:masterfrom
emilioSp:master
Open

fix: prop types error are not caught#6
emilioSp wants to merge 1 commit intoeliihen:masterfrom
emilioSp:master

Conversation

@emilioSp
Copy link
Copy Markdown

Hi @esphen,

this PR fixes #5


console.error = (message, ...args) => {
console.error = (...args) => {
error(...args);
Copy link
Copy Markdown

@vicasas vicasas Jul 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line keeps causing the same error. Tested with jest 27 and node 16.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The test suite passes even if a prop types error is present

2 participants