blob: 342cee0e4719be7b295f24617ac8d1659d8b236e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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
|