summaryrefslogtreecommitdiff
path: root/std/node/buffer_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/buffer_test.ts')
-rw-r--r--std/node/buffer_test.ts14
1 files changed, 1 insertions, 13 deletions
diff --git a/std/node/buffer_test.ts b/std/node/buffer_test.ts
index a360c91ff..7fbc8f3ad 100644
--- a/std/node/buffer_test.ts
+++ b/std/node/buffer_test.ts
@@ -1,20 +1,8 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import { assert, assertEquals, assertThrows } from "../testing/asserts.ts";
+import { assertEquals, assertThrows } from "../testing/asserts.ts";
import { Buffer } from "./buffer.ts";
Deno.test({
- name: "Buffer global scope",
- fn() {
- // deno-lint-ignore ban-ts-comment
- // @ts-expect-error
- assert(window.Buffer === Buffer);
- // deno-lint-ignore ban-ts-comment
- // @ts-expect-error
- assert(globalThis.Buffer === Buffer);
- },
-});
-
-Deno.test({
name: "alloc fails on negative numbers",
fn() {
assertThrows(