Describe the bug
Error when trying to unit test mui-color-input
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
To Reproduce
Steps to reproduce the behavior:
Create a react application
Install mui-color-input@1.1.0 (Happened to older version too)
Install @testing-library/react@14.0.0
Write a simple test to just render the component
Expected behavior
Unit test to be passed.
Screenshots
Desktop (please complete the following information):
Describe the bug Error when trying to unit test mui-color-input
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
To Reproduce Steps to reproduce the behavior:
Expected behavior Unit test to be passed.
Screenshots
Desktop (please complete the following information):