From ed19cab7d6aee6645177300d84fdda7c97686168 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Wed, 25 Dec 2024 17:35:28 +0300 Subject: [PATCH] chore: linting --- test/core.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core.test.js b/test/core.test.js index 56ebdf941d..844a514ceb 100644 --- a/test/core.test.js +++ b/test/core.test.js @@ -625,8 +625,8 @@ describe('core', () => { assert.equal(r2.reason.exitCode, 1) }) - test('pipes particular stream: stdout ot stderr', async () => { - const p = $`echo foo >&2; echo bar` + test('pipes particular stream: stdout, stderr, stdall', async () => { + const p = $`echo foo >&2; sleep 0.01 && echo bar` const o1 = (await p.pipe.stderr`cat`).toString() const o2 = (await p.pipe.stdout`cat`).toString() const o3 = (await p.pipe.stdall`cat`).toString()