/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/test/document/document_test.out
22 строки
595 B
Bartek Iwańczuk
fix: add hint for missing `document` global in terminal error (#26218)
16 окт 2024, 00:51
Не верифицирован
16 окт 2024, 00:51
ee904ec
Код
Авторство
О чём код?
running 1 test from ./document_test.js document query selector ... FAILED [WILDCARD] ERRORS document query selector => ./document_test.js:1:6 error: ReferenceError: document is not defined document.querySelector("div"); ^ at [WILDCARD]document_test.js:2:3 info: document global is not available in Deno. hint: Use a library like happy-dom, deno_dom, linkedom or JSDom and setup the document global according to the library documentation. FAILURES document query selector => ./document_test.js:1:6 FAILED | 0 passed | 1 failed ([WILDCARD]) error: Test failed