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:
parent
ebbaea982c
commit
cb79f2302b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user