chore: initial commit

This commit is contained in:
Satyajit Sahoo
2020-02-07 15:50:08 +01:00
commit 09c2bef6a9
28 changed files with 18119 additions and 0 deletions

9
jest/setup.js Normal file
View File

@@ -0,0 +1,9 @@
const error = console.error;
console.error = (...args) =>
// Supress 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]
)
? void 0
: error(...args);