Closed devTomek closed 5 years ago
Are you sure that EnumCell
is where the error is coming from? You're not using PropTypes.oneOfType
anywhere in that code.
It seems like it's coming from wrapper
, not from EnumCell
.
Sorry for late response, I have this error only in tests. In developing console and browser console it is fine. But I will check it again.
I checked. I pass everywhere an array. I repeat, this warning appears only in terminal run with jest.
It's probably https://github.com/facebook/jest/issues/2549 - a bug in jest.
Maybe. I can't reproduce it in code sandbox, so I close this topic in hope it will be fixed in other. Thanks for your time :)
Did anyone find any solution to fix it?
@ambujThalesOW not without a repro repo, unfortunately.
Is this package error or my fault?