From 602f249c2cfac0e7b6613fb63f5fb519aa1ca952 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 17 Sep 2023 17:31:18 +0200 Subject: Move servers into app.ts and export for testing --- test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/index.test.ts b/test/index.test.ts index 2f682a9..6e29e3d 100644 --- a/test/index.test.ts +++ b/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}/`; -- cgit 1.4.1