while writing test using react testing library we are getting the below error
Warning: An update to LinesEllipsis inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */