You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{assertNotEquals}from"https://deno.land/[email protected]/testing/asserts.ts";import__14$from"http://localhost:8080/v113/node_buffer.js";Deno.test("node-buffer-file",()=>{const{ File }=__14$;assertNotEquals(typeofFile,"undefined","Missing File class in node.js api buffer");});Deno.test("node-buffer-blob",()=>{const{ Blob }=__14$;assertNotEquals(typeofBlob,"undefined","Missing Blob class in node.js api buffer.");});
Error message
After running deno run I got this:
deno test -Ar ./test/node-buffer/node-buffer.test.ts
Check file:///home/digitalkitsune/github/esm.sh/test/node-buffer/node-buffer.test.ts
running 2 tests from ./test/node-buffer/node-buffer.test.ts
node-buffer-file ... FAILED (11ms)
node-buffer-blob ... FAILED (6ms)
ERRORS
node-buffer-file => ./test/node-buffer/node-buffer.test.ts:4:6
error: AssertionError: Missing File class in node.js api buffer
throw new AssertionError(msg);
^
at assertNotEquals (https://deno.land/[email protected]/testing/asserts.ts:225:9)
at file:///home/digitalkitsune/github/esm.sh/test/node-buffer/node-buffer.test.ts:6:5
node-buffer-blob => ./test/node-buffer/node-buffer.test.ts:9:6
error: AssertionError: Missing Blob class in node.js api buffer.
throw new AssertionError(msg);
^
at assertNotEquals (https://deno.land/[email protected]/testing/asserts.ts:225:9)
at file:///home/digitalkitsune/github/esm.sh/test/node-buffer/node-buffer.test.ts:11:5
FAILURES
node-buffer-file => ./test/node-buffer/node-buffer.test.ts:4:6
node-buffer-blob => ./test/node-buffer/node-buffer.test.ts:9:6
FAILED | 0 passed | 2 failed (56ms)
error: Test failed
Failing module
Error message
After running
deno run
I got this:Additional info
The text was updated successfully, but these errors were encountered: