nested-fail.js
This file
Path
test/fixtures/nested-fail.js
7 lines · 265 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 {execa, 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–5why, one step back4const {file, commandArguments, options} = await getOneMessage();5const subprocess = execa(file, commandArguments, options);100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 6–7why, one step back6subprocess.kill(new Error(commandArguments[0]));7await subprocess;