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
12345678#!/usr/bin/env nodeimport {execa, getOneMessage} from '../../index.js';
const {file, commandArguments, options} = await getOneMessage();const subprocess = execa(file, commandArguments, options);subprocess.kill(new Error(commandArguments[0]));await subprocess;