Skip to content
Myr

nested-pipe-subprocesses.js

This file

Path

test/fixtures/nested-pipe-subprocesses.js

15 lines · 378 bytes · JavaScript

Last changed by

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f65b86 point at it.

100% test coverage (#1018)ehmickybefore adoption9f65b86

line 1why, one step back
1#!/usr/bin/env node

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

line 2why, one step back
2import {execa, getOneMessage} from '../../index.js';

100% test coverage (#1018)ehmickybefore adoption9f65b86

line 3why, one step back
3

Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f

lines 4–15why, one step back
4const {
5 file,6 commandArguments = [],7 options: {8 sourceOptions = {},9 destinationFile,10 destinationArguments = [],11 destinationOptions = {},12 },13} = await getOneMessage();14await execa(file, commandArguments, sourceOptions)15 .pipe(execa(destinationFile, destinationArguments, destinationOptions));