Correcting spelling 'Supress' > 'Suppress' (#7731)

This commit is contained in:
Mike Rogers
2020-03-06 10:24:43 +00:00
committed by GitHub
parent 0cc7a12b9c
commit b3665a325d

View File

@@ -1,7 +1,7 @@
const error = console.error;
console.error = (...args) =>
// Supress error messages regarding error boundary in tests
// Suppress error messages regarding error boundary in tests
/(Consider adding an error boundary to your tree to customize error handling behavior|React will try to recreate this component tree from scratch using the error boundary you provided|Error boundaries should implement getDerivedStateFromError)/m.test(
args[0]
)