Skip to content

[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.] #329

Closed
@hatajoe

Description

@hatajoe

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?

  • Yes I use TypeScript

Steps to reproduce

  1. Go to https://codesandbox.io/p/devbox/yhhghw
  2. Click on New Terminal
  3. type yarn jest and hit return key
  4. See error

Operating System

  • macOS
  • Windows
  • Linux
  • iOS/iPadOS
  • Android

Additional Information

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions