From 798904b0f2ed0c7284b67bba2f125f406b5850de Mon Sep 17 00:00:00 2001 From: Samrith Shankar Date: Fri, 20 Mar 2020 14:38:34 +0100 Subject: Add require-await lint rule (#4401) --- cli/js/tests/process_test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/js/tests/process_test.ts') diff --git a/cli/js/tests/process_test.ts b/cli/js/tests/process_test.ts index 77c3065eb..e2da6cab5 100644 --- a/cli/js/tests/process_test.ts +++ b/cli/js/tests/process_test.ts @@ -359,9 +359,7 @@ if (Deno.build.os !== "win") { p.close(); }); - unitTest({ perms: { run: true } }, async function killFailed(): Promise< - void - > { + unitTest({ perms: { run: true } }, function killFailed(): void { const p = run({ args: ["python", "-c", "from time import sleep; sleep(10000)"] }); -- cgit v1.2.3