covid19-dio
covid19-dio copied to clipboard
Não consigo achar o erro
Olá professor! tudo bom?
Meu projeto está apresentando esse erro:
TypeError: Expected container to be an Element, a Document or a DocumentFragment but got undefined. checkContainerType node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:252 249 | 250 | function checkContainerType(container) { 251 | if (!container || !(typeof container.querySelector === 'function') || !(typeof container.querySelectorAll === 'function')) {
252 | throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + getTypeName(container) + "."); 253 | } 254 | 255 | function getTypeName(object) {
Eu não estou conseguindo entender qual parte do projeto está gerando esse erro, teria como vc me ajudar? Gratidão ^^
Professor, consegui encontrar o erro, estava no Board. Consegui identificar pelo console.