summaryrefslogtreecommitdiff
path: root/cli/tests/unit/signal_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-11-23 17:45:18 +0100
committerGitHub <noreply@github.com>2021-11-23 17:45:18 +0100
commitbedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch)
treeb4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/signal_test.ts
parent51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff)
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/signal_test.ts')
-rw-r--r--cli/tests/unit/signal_test.ts18
1 files changed, 6 insertions, 12 deletions
diff --git a/cli/tests/unit/signal_test.ts b/cli/tests/unit/signal_test.ts
index d567b69fc..31562c99a 100644
--- a/cli/tests/unit/signal_test.ts
+++ b/cli/tests/unit/signal_test.ts
@@ -1,13 +1,7 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-import {
- assertEquals,
- assertThrows,
- deferred,
- delay,
- unitTest,
-} from "./test_util.ts";
+import { assertEquals, assertThrows, deferred, delay } from "./test_util.ts";
-unitTest(
+Deno.test(
{ ignore: Deno.build.os !== "windows" },
function signalsNotImplemented() {
assertThrows(
@@ -97,7 +91,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{
ignore: Deno.build.os === "windows",
permissions: { run: true },
@@ -125,7 +119,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{
ignore: Deno.build.os === "windows",
permissions: { run: true },
@@ -173,7 +167,7 @@ unitTest(
);
// This tests that pending op_signal_poll doesn't block the runtime from exiting the process.
-unitTest(
+Deno.test(
{
ignore: Deno.build.os === "windows",
permissions: { run: true, read: true },
@@ -193,7 +187,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{
ignore: Deno.build.os === "windows",
permissions: { run: true },