Move servers into app.ts and export for testing
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M test/index.test.ts → test/index.test.ts
@@ -1,7 +1,7 @@ import { type Server } from "bun"; import { expect, test, beforeAll, afterAll } from "bun:test"; -import app from "../src/index"; +import { server as app } from "../src/app"; const port = 33000; const base = `http://localhost:${port}/`;