summaryrefslogtreecommitdiff
path: root/cli/tests/unit
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-05-15 05:57:09 +0200
committerGitHub <noreply@github.com>2022-05-15 05:57:09 +0200
commitb08b1da6f4550601eec23327bd40d17ad6a6b4e9 (patch)
treea9bf72e90ba98afdc5aa7067c79cf0093170e15a /cli/tests/unit
parentc496639d5dc190b107222bc30462d67ddb86c223 (diff)
Revert "refactor(runtime): change from signal_str_to_int function to enum (#14539)" (#14606)
This reverts commit c496639d5dc190b107222bc30462d67ddb86c223.
Diffstat (limited to 'cli/tests/unit')
-rw-r--r--cli/tests/unit/process_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts
index 9abe149f9..5acb92226 100644
--- a/cli/tests/unit/process_test.ts
+++ b/cli/tests/unit/process_test.ts
@@ -473,10 +473,10 @@ Deno.test(
Deno.test({ permissions: { run: false } }, function killPermissions() {
assertThrows(() => {
// Unlike the other test cases, we don't have permission to spawn a
- // subprocess we can safely kill. Instead we send SIGTERM to the current
+ // subprocess we can safely kill. Instead we send SIGCONT to the current
// process - assuming that Deno does not have a special handler set for it
// and will just continue even if a signal is erroneously sent.
- Deno.kill(Deno.pid, "SIGTERM");
+ Deno.kill(Deno.pid, "SIGCONT");
}, Deno.errors.PermissionDenied);
});