diff options
Diffstat (limited to 'std/signal/test.ts')
-rw-r--r-- | std/signal/test.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/std/signal/test.ts b/std/signal/test.ts index ef79a303b..4c8aa82e0 100644 --- a/std/signal/test.ts +++ b/std/signal/test.ts @@ -1,9 +1,8 @@ -const { test } = Deno; import { assertEquals, assertThrows } from "../testing/asserts.ts"; import { delay } from "../async/delay.ts"; import { signal, onSignal } from "./mod.ts"; -test({ +Deno.test({ name: "signal() throws when called with empty signals", ignore: Deno.build.os === "windows", fn() { @@ -18,7 +17,7 @@ test({ }, }); -test({ +Deno.test({ name: "signal() iterates for multiple signals", ignore: Deno.build.os === "windows", fn: async (): Promise<void> => { @@ -59,7 +58,7 @@ test({ }, }); -test({ +Deno.test({ name: "onSignal() registers and disposes of event handler", ignore: Deno.build.os === "windows", async fn() { |