Closed
Description
Regarding the deprecation of toBeInTheDOM
we should either find better assertions or use toBeInTheDocument
: testing-library/jest-dom#40
Anyone wanna try that?
For dom-testing-library, most of the examples aren't actually attached to document.body
so toBeInTheDocument
wont work. We'll have to think of something better on a case-by-case basis I think.