You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am develop two test using Testing Library and jest. If run each one separately they work successfully. If I run both together (describe), the second one always failed with the following message "TypeError: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'.". They do not have any dependency between them. I searched on Internet but I did not find anything that can help me.
The error is thrown when I search a button with screen.getByTestId