From 5f1c0aa398d27d9b92cc357b5b55a58d243dc49b Mon Sep 17 00:00:00 2001 From: Sebastien Ringrose Date: Thu, 3 Aug 2023 14:01:31 +0100 Subject: [PATCH] fix: profile test --- tests/utils/Profiler_test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/utils/Profiler_test.ts b/tests/utils/Profiler_test.ts index 4c1bcfe5..9e6ed58e 100644 --- a/tests/utils/Profiler_test.ts +++ b/tests/utils/Profiler_test.ts @@ -39,9 +39,6 @@ Deno.test("UTIL: Profiler", async (t) => { const abortController = new AbortController() Deno.serve({ signal: abortController.signal }, (req) => router.requestHandler(req)) - // can't await listen so timeout necessary - // await new Promise(res => setTimeout(res, 500)) - const results = await Profiler.run(router, { mode: "serve", url: "http://localhost:8000",