summaryrefslogtreecommitdiff
path: root/cli/tests/unit/progressevent_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/progressevent_test.ts')
-rw-r--r--cli/tests/unit/progressevent_test.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/cli/tests/unit/progressevent_test.ts b/cli/tests/unit/progressevent_test.ts
deleted file mode 100644
index 809c2ad39..000000000
--- a/cli/tests/unit/progressevent_test.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { assertEquals } from "./test_util.ts";
-
-Deno.test(function progressEventConstruct() {
- const progressEventDefs = new ProgressEvent("progressEventType", {});
- assertEquals(progressEventDefs.lengthComputable, false);
- assertEquals(progressEventDefs.loaded, 0);
- assertEquals(progressEventDefs.total, 0);
-
- const progressEvent = new ProgressEvent("progressEventType", {
- lengthComputable: true,
- loaded: 123,
- total: 456,
- });
- assertEquals(progressEvent.lengthComputable, true);
- assertEquals(progressEvent.loaded, 123);
- assertEquals(progressEvent.total, 456);
-});