In browser mode, it seems that the iframe is destroyed every time after executing the test. #6202
-
Can we keep the iframe so that I can inspect the component's UI? I am using @testing-library/react. I did not manually call cleanup, but the DOM is indeed being destroyed. According to the official documentation, it seems to automatically clean up, and I couldn't find a manual way to close it. |
Beta Was this translation helpful? Give feedback.
Answered by
sheremet-va
Jul 25, 2024
Replies: 1 comment 3 replies
-
You need to set
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, I linked you the preact name, you need to use
RTL_SKIP_AUTO_CLEANUP
instead