Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Dec 25, 2024
1 parent b3b4c83 commit ed19cab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ed19cab

Please sign in to comment.