From fe7d6824c91b0c2b45c1248fc58847250f6c9f42 Mon Sep 17 00:00:00 2001 From: Peter Evers Date: Fri, 29 May 2020 08:27:57 +0200 Subject: fix DenoBlob name (#5879) --- cli/tests/unit/blob_test.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/tests/unit/blob_test.ts') diff --git a/cli/tests/unit/blob_test.ts b/cli/tests/unit/blob_test.ts index 70f8fb3d5..79e6f1f8f 100644 --- a/cli/tests/unit/blob_test.ts +++ b/cli/tests/unit/blob_test.ts @@ -90,3 +90,8 @@ unitTest(async function blobStream(): Promise { await read(); assertEquals(decode(bytes), "Hello World"); }); + +unitTest(function blobConstructorNameIsBlob(): void { + const blob = new Blob(); + assertEquals(blob.constructor.name, "Blob"); +}); -- cgit v1.2.3