diff options
Diffstat (limited to 'std/http/server_test.ts')
-rw-r--r-- | std/http/server_test.ts | 8 |
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); |