also looking at this
fix(test): stop a leaked spawn mock hanging the gateway CLI tests (#2267), pin forwarded headers (#2265)
#2268
4 files
+57
-4
| @@ -353,9 +353,7 @@ async function freePort(): Promise<number> { | ||
| 353 | 353 | return port |
| 354 | 354 | } |
| 355 | 355 | |
| 356 | const CLI_STARTS = process.platform !== 'linux' | |
| 357 | ||
| 358 | describe.skipIf(!CLI_STARTS)('rpx gateway (CLI, end to end)', () => { | |
| 356 | describe('rpx gateway (CLI, end to end)', () => { | |
| 359 | 357 | it('starts and prints its help', async () => { |
| 360 | 358 | const cli = path.join(import.meta.dir, '..', 'bin', 'cli.ts') |
| 361 | 359 | const child = spawn(process.execPath, [cli, '--help'], { stdio: ['ignore', 'pipe', 'pipe'] }) |