nested-pipe-script.js
This file
Path
test/fixtures/nested-pipe-script.js
15 lines · 373 bytes · JavaScript
Last changed by
Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
History of this fileTake it
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
100% test coverage (#1018)ehmickybefore adoption9f65b86
line 1why, one step back1#!/usr/bin/env nodeRefactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
line 2why, one step back2import {$, getOneMessage} from '../../index.js';100% test coverage (#1018)ehmickybefore adoption9f65b86
line 3why, one step back3Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
lines 4–15why, one step back4const {5 file,6 commandArguments = [],7 options: {8 sourceOptions = {},9 destinationFile,10 destinationArguments = [],11 destinationOptions = {},12 },13} = await getOneMessage();14await $(sourceOptions)`${file} ${commandArguments}`15 .pipe(destinationOptions)`${destinationFile} ${destinationArguments}`;