diff options
Diffstat (limited to 'http/server_test.ts')
-rw-r--r-- | http/server_test.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/http/server_test.ts b/http/server_test.ts index 4a904a6f7..692293e80 100644 --- a/http/server_test.ts +++ b/http/server_test.ts @@ -504,11 +504,9 @@ 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); |