summaryrefslogtreecommitdiff
path: root/std/http/server_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-10-09 17:22:22 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-10-09 17:22:22 -0400
commit93f7f00c956c14620ef031626f124b57397ca867 (patch)
treec5a9f536e79d2c8d2d02897511a9138acaf35394 /std/http/server_test.ts
parent28293acd9c12a94f5d769706291032e844c7b92b (diff)
Run deno_std tests in github actions
Diffstat (limited to 'std/http/server_test.ts')
-rw-r--r--std/http/server_test.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/std/http/server_test.ts b/std/http/server_test.ts
index a49301790..7917aeddd 100644
--- a/std/http/server_test.ts
+++ b/std/http/server_test.ts
@@ -504,9 +504,11 @@ test({
let serverIsRunning = true;
p.status()
- .then((): void => {
- serverIsRunning = false;
- })
+ .then(
+ (): void => {
+ serverIsRunning = false;
+ }
+ )
.catch((_): void => {}); // Ignores the error when closing the process.
await delay(100);