ReviewOS

also looking at this

stacks/rpx

fix(test): stop a leaked spawn mock hanging the gateway CLI tests (#2267), pin forwarded headers (#2265)

#2268
Merged chris wants to merge fix/2265-2267-proxy-header-and-cli-coverage into main
4 files +57 -4
packages/rpx/test/gateway.test.tsmodified+1-3
Changes to packages/rpx/test/gateway.test.ts
@@ -353,9 +353,7 @@ async function freePort(): Promise<number> {
353353 return port
354354}
355355
356const CLI_STARTS = process.platform !== 'linux'
357
358describe.skipIf(!CLI_STARTS)('rpx gateway (CLI, end to end)', () => {
356describe('rpx gateway (CLI, end to end)', () => {
359357 it('starts and prints its help', async () => {
360358 const cli = path.join(import.meta.dir, '..', 'bin', 'cli.ts')
361359 const child = spawn(process.execPath, [cli, '--help'], { stdio: ['ignore', 'pipe', 'pipe'] })