0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-21 18:18:57 +01:00

test(adapter/bun): fixed conninfo.test.ts (#3059)

This commit is contained in:
Yusuke Wada 2024-06-29 17:20:06 +09:00 committed by GitHub
parent ebbaea982c
commit cb79f2302b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ describe('getConnInfo', () => {
})
it('should return undefined when addressType is invalid string', () => {
const { server } = createRandomBunServer({ family: 'invalid' })
const c = new Context(new HonoRequest(new Request('http://localhost/')), { env: { server } })
const c = new Context(new Request('http://localhost/'), { env: { server } })
const info = getConnInfo(c)