diff options
author | Alan Pearce | 2023-09-17 17:31:18 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-17 17:31:18 +0200 |
commit | 602f249c2cfac0e7b6613fb63f5fb519aa1ca952 (patch) | |
tree | be522208e3172e62b4777a66af4bd931677f7fcb /test/index.test.ts | |
parent | 1a7abb3723d6b9db0d199c26d2a207e03636738a (diff) | |
download | website-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.ts | 2 |
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}/`; |