diff options
Diffstat (limited to 'js/custom_event_test.ts')
-rw-r--r-- | js/custom_event_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/custom_event_test.ts b/js/custom_event_test.ts index 2f8f5c1a0..8a9dc9416 100644 --- a/js/custom_event_test.ts +++ b/js/custom_event_test.ts @@ -1,7 +1,7 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import { test, assertEquals } from "./test_util.ts"; -test(function customEventInitializedWithDetail() { +test(function customEventInitializedWithDetail(): void { const type = "touchstart"; const detail = { message: "hello" }; const customEventDict = new CustomEventInit({ @@ -20,7 +20,7 @@ test(function customEventInitializedWithDetail() { assertEquals(event.type, type); }); -test(function toStringShouldBeWebCompatibility() { +test(function toStringShouldBeWebCompatibility(): void { const type = "touchstart"; const event = new CustomEvent(type, {}); assertEquals(event.toString(), "[object CustomEvent]"); |