From c0d782cd649525ce40489906a24d83607deede29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TATSUNO=20=E2=80=9CTaz=E2=80=9D=20Yasuhiro?= Date: Mon, 30 Sep 2024 15:44:32 +0900 Subject: [PATCH] test(deno): remove duplicated app.get (#3469) --- runtime-tests/deno/middleware.test.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime-tests/deno/middleware.test.tsx b/runtime-tests/deno/middleware.test.tsx index b3fc3fed..1ad4569f 100644 --- a/runtime-tests/deno/middleware.test.tsx +++ b/runtime-tests/deno/middleware.test.tsx @@ -97,14 +97,6 @@ Deno.test('Serve Static middleware', async () => { app.get('/static-absolute-root/*', serveStatic({ root: dirname(fromFileUrl(import.meta.url)) })) - app.get( - '/static/*', - serveStatic({ - root: './runtime-tests/deno', - onNotFound, - }) - ) - let res = await app.request('http://localhost/favicon.ico') assertEquals(res.status, 200) assertEquals(res.headers.get('Content-Type'), 'image/x-icon')