From f4fb4f7ea3116df7d768f07619ca893e01d1d2a1 Mon Sep 17 00:00:00 2001 From: Gustavo Henke Date: Thu, 5 Sep 2024 16:06:08 +1000 Subject: [PATCH] bin: fix SIGINT test on Windows --- bin/concurrently.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/concurrently.spec.ts b/bin/concurrently.spec.ts index ef901c06..2c00a519 100644 --- a/bin/concurrently.spec.ts +++ b/bin/concurrently.spec.ts @@ -197,10 +197,7 @@ describe('exiting conditions', () => { expect(lines).toContainEqual( expect.stringMatching( createKillMessage( - isWindows - ? // '^C' is echoed by read-echo.js (also happens without the wrapper) - '[0] ^Cnode fixtures/read-echo.js' - : '[0] node fixtures/read-echo.js', + '[0] node fixtures/read-echo.js', // TODO: Flappy value due to race condition, sometimes killed by concurrently (exit code 1), // sometimes terminated on its own (exit code 0). // Related issue: https://github.com/open-cli-tools/concurrently/issues/283