about summary refs log tree commit diff
path: root/jest
diff options
context:
space:
mode:
Diffstat (limited to 'jest')
-rw-r--r--jest/test-pds.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/jest/test-pds.ts b/jest/test-pds.ts
index bc3692600..a0cb04a16 100644
--- a/jest/test-pds.ts
+++ b/jest/test-pds.ts
@@ -59,17 +59,21 @@ export async function createServer(
 ): Promise<TestPDS> {
   const port = await getPort()
   const port2 = await getPort(port + 1)
+  const port3 = await getPort(port2 + 1)
   const pdsUrl = `http://localhost:${port}`
   const id = ids.next()
+
   const testNet = await TestNetwork.create({
     pds: {
       port,
-      publicUrl: pdsUrl,
-      inviteRequired,
+      hostname: 'localhost',
       dbPostgresSchema: `pds_${id}`,
+      inviteRequired,
     },
     bsky: {
       dbPostgresSchema: `bsky_${id}`,
+      port: port3,
+      publicUrl: 'http://localhost:2584',
     },
     plc: {port: port2},
   })