Skip to content

Commit

Permalink
test(deno): remove duplicated app.get (#3469)
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego authored Sep 30, 2024
1 parent f1ec415 commit c0d782c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions runtime-tests/deno/middleware.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit c0d782c

Please sign in to comment.