UNPKG

@furystack/core

Version:
8 lines 352 B
/** * Generates a unique port number for testing purposes. * Each Vitest worker gets a dedicated range of {@link PORTS_PER_WORKER} ports * based on its VITEST_POOL_ID to avoid collisions between parallel workers. * @returns the next sequential port number */ export declare const getPort: () => number; //# sourceMappingURL=port-generator.d.ts.map