Closed mtzrmzia closed 2 years ago
I'm implementing tests to my Tooltip component, but when the test pass, breaks with this error... how can I mock the ResizeObserver?
see: https://stackoverflow.com/questions/64558062/how-to-mock-resizeobserver-to-work-in-unit-tests-using-react-testing-library
I'm implementing tests to my Tooltip component, but when the test pass, breaks with this error... how can I mock the ResizeObserver?