mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
import { join } from 'node:path';
|
|
|
|
const fallbackPort = '4175';
|
|
|
|
const appPort = () => fallbackPort;
|
|
|
|
export const e2eBaseUrl = () => `http://127.0.0.1:${appPort()}`;
|
|
|
|
export const e2eStorageStatePath = () => join('tests/e2e/.auth', `state-${appPort()}.json`);
|
|
|
|
export const e2eHomeserverPath = () => join('tests/e2e/.auth', `homeserver-${appPort()}.json`);
|