about summary refs log tree commit diff stats
path: root/test/index.test.ts
diff options
context:
space:
mode:
authorAlan Pearce2023-09-17 17:31:18 +0200
committerAlan Pearce2023-09-17 17:31:18 +0200
commit602f249c2cfac0e7b6613fb63f5fb519aa1ca952 (patch)
treebe522208e3172e62b4777a66af4bd931677f7fcb /test/index.test.ts
parent1a7abb3723d6b9db0d199c26d2a207e03636738a (diff)
downloadwebsite-602f249c2cfac0e7b6613fb63f5fb519aa1ca952.tar.lz
website-602f249c2cfac0e7b6613fb63f5fb519aa1ca952.tar.zst
website-602f249c2cfac0e7b6613fb63f5fb519aa1ca952.zip
Move servers into app.ts and export for testing
Diffstat (limited to 'test/index.test.ts')
-rw-r--r--test/index.test.ts2
1 files changed, 1 insertions, 1 deletions
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}/`;