From c92717a1a43d31951cd8a1161afb766ef339aa21 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 16 Feb 2024 10:49:42 -0700 Subject: chore(cli): pre-factor the sanitizer tests (#22436) Moving tests around so that we can make #22413 smaller --- tests/unit_node/process_test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/unit_node/process_test.ts') diff --git a/tests/unit_node/process_test.ts b/tests/unit_node/process_test.ts index bc2ff640e..bff3c6641 100644 --- a/tests/unit_node/process_test.ts +++ b/tests/unit_node/process_test.ts @@ -226,6 +226,7 @@ Deno.test({ }, }); +// Only supported on Windows (but won't throw anywhere) Deno.test({ name: "process.on SIGBREAK doesn't throw", fn() { @@ -235,9 +236,9 @@ Deno.test({ }, }); +// Not supported on Windows (but won't throw anywhere) Deno.test({ - name: "process.on SIGTERM doesn't throw on windows", - ignore: Deno.build.os !== "windows", + name: "process.on SIGTERM doesn't throw", fn() { const listener = () => {}; process.on("SIGTERM", listener); -- cgit v1.2.3