baseElement

Defaults to the container if the container is specified. Otherwise document.body is used for the default. This is used as the base element for the queries as well as what is printed when you use debug().

See also

https

://testing-library.com/docs/react-testing-library/api/#baseelement