server.test.ts
This file
Path
src/adapter/bun/server.test.ts
15 lines · 423 bytes · TypeScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than f0b094d point at it.
Merge commit from forkYusuke Wadabefore adoptionf0b094d
lines 1–15why, one step back1import { Context } from '../../context'2import { getBunServer } from './server'34describe('getBunServer', () => {5 it('Should success to pick Server', () => {6 const server = {}78 expect(getBunServer(new Context(new Request('http://localhost/'), { env: server }))).toBe(9 server10 )11 expect(getBunServer(new Context(new Request('http://localhost/'), { env: { server } }))).toBe(12 server13 )14 })15})