chakra-react-select
chakra-react-select copied to clipboard
[BUG] Error: Uncaught [Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `ForwardRef`.]
Description
When I run yarn jest, I expected pass the test to happen but the above error happened instead.
This error happens in v4.9.0 or greater, but it doesn't happen in v4.8.0.
Do you have any ideas to solve this?
chakra-react-select Version
4.9.0
Link to Reproduction
https://codesandbox.io/p/devbox/yhhghw
TypeScript?
- [X] Yes I use TypeScript
Steps to reproduce
- Go to https://codesandbox.io/p/devbox/yhhghw
- Click on
New Terminal - type
yarn jestand hit return key - See error
Operating System
- [ ] macOS
- [ ] Windows
- [X] Linux
- [ ] iOS/iPadOS
- [ ] Android
Additional Information
No response