diff options
Diffstat (limited to 'cli/tests/unit/custom_event_test.ts')
-rw-r--r-- | cli/tests/unit/custom_event_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/custom_event_test.ts b/cli/tests/unit/custom_event_test.ts index 3b6242996..94d4a30de 100644 --- a/cli/tests/unit/custom_event_test.ts +++ b/cli/tests/unit/custom_event_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -import { assertEquals, unitTest } from "./test_util.ts"; +import { assertEquals } from "./test_util.ts"; -unitTest(function customEventInitializedWithDetail() { +Deno.test(function customEventInitializedWithDetail() { const type = "touchstart"; const detail = { message: "hello" }; const customEventInit = { @@ -20,7 +20,7 @@ unitTest(function customEventInitializedWithDetail() { assertEquals(event.type, type); }); -unitTest(function toStringShouldBeWebCompatibility() { +Deno.test(function toStringShouldBeWebCompatibility() { const type = "touchstart"; const event = new CustomEvent(type, {}); assertEquals(event.toString(), "[object CustomEvent]"); |