diff --git a/src/workers/fetch.test.ts b/src/workers/fetch.test.ts index 0d6e050..d9a6102 100644 --- a/src/workers/fetch.test.ts +++ b/src/workers/fetch.test.ts @@ -2,8 +2,6 @@ import { assertEquals, assertRejects } from '@/deps-test.ts'; import { fetchWorker } from './fetch.ts'; -await sleep(2000); - Deno.test({ name: 'fetchWorker', async fn() { @@ -29,7 +27,3 @@ Deno.test({ }, sanitizeResources: false, }); - -function sleep(ms: number) { - return new Promise((resolve) => setTimeout(resolve, ms)); -}