0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 19:26:56 +01:00

test(deno): remove duplicated app.get (#3469)

This commit is contained in:
TATSUNO “Taz” Yasuhiro 2024-09-30 15:44:32 +09:00 committed by GitHub
parent f1ec415be0
commit c0d782cd64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')