diff --git a/bin/concurrently.spec.ts b/bin/concurrently.spec.ts index 31a07c61..a33e7cc4 100644 --- a/bin/concurrently.spec.ts +++ b/bin/concurrently.spec.ts @@ -417,6 +417,7 @@ expect.extend({ pass: false, }; } + return { message: () => 'Expected lines to not have process start and stop messages', pass: true, @@ -438,6 +439,7 @@ expect.extend({ pass: false, }; } + return { message: () => 'Expected lines to not have timings table', pass: true, diff --git a/bin/fixtures/read-echo.js b/bin/fixtures/read-echo.js index ffb33ce5..c6b34505 100644 --- a/bin/fixtures/read-echo.js +++ b/bin/fixtures/read-echo.js @@ -1,4 +1,5 @@ /* eslint-disable no-console */ + process.stdin.on('data', (chunk) => { const line = chunk.toString().trim(); console.log(line); diff --git a/bin/fixtures/sleep.mjs b/bin/fixtures/sleep.mjs index f9b13b14..91999834 100644 --- a/bin/fixtures/sleep.mjs +++ b/bin/fixtures/sleep.mjs @@ -6,6 +6,7 @@ */ /* eslint-disable no-console */ + async function run(s) { await new Promise((resolve) => setTimeout(resolve, s * 1000)); }