diff options
author | Eric Bailey <git@esb.lol> | 2023-12-05 14:50:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 14:50:56 -0600 |
commit | 5f553c29dfdac1bf81debe5e28983a9dbe74bd7f (patch) | |
tree | 6bfabab5623050aed65cdbb8dcc6474aa8f9d9cb /jest | |
parent | ed5a97d0fab249cab91539f0c4dc7d3084bc59a8 (diff) | |
download | voidsky-5f553c29dfdac1bf81debe5e28983a9dbe74bd7f.tar.zst |
E2E 🟢 (#2092)
* 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
Diffstat (limited to 'jest')
-rw-r--r-- | jest/test-pds.ts | 8 |
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}, }) |