From 5f553c29dfdac1bf81debe5e28983a9dbe74bd7f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 5 Dec 2023 14:50:56 -0600 Subject: E2E 🟢 (#2092) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code --- jest/test-pds.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'jest') 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 { 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}, }) -- cgit 1.4.1