From 315d889afa38e976b106a3769cab206db31d5ce8 Mon Sep 17 00:00:00 2001 From: Steven Guerrero Date: Thu, 19 Nov 2020 07:23:42 -0500 Subject: fix(std/node): correct typings for global, globalThis, window (#8363) --- std/node/buffer_test.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'std/node/buffer_test.ts') 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,19 +1,7 @@ // 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() { -- cgit v1.2.3