Getting warnings and console.error in each test case as a joke
I am using native development react and using jest for testing. and my cases where all my data passes validation but gets this error.
console.error node_modules/react-native/Libraries/Core/ExceptionsManager.js:71
Warning: Invalid argument supplied to oneOf, expected an instance of array.
console.error node_modules/react-native/Libraries/Core/ExceptionsManager.js:71
Warning: In next release empty section headers will be rendered. In this release you can use 'enableEmptySections' flag to render empty section headers.
console.error node_modules/react-native/Libraries/Core/ExceptionsManager.js:71
Warning: In next release empty section headers will be rendered. In this release you can use 'enableEmptySections' flag to render empty section headers
in my all test cases
+3
source to share