early-error.js
This file
Path
test/helpers/early-error.js
9 lines · 522 bytes · JavaScript
Last changed by
Update test coverage for Node.js 26 (#1242)Sindre Sorhusbefore adoption68986b7
History of this fileTake it
The walk stopped after 200 commits: lines older than 9f65b86 point at it.
100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 1–2why, one step back1import {execa, execaSync} from '../../index.js';2Improve `cancelSignal` option (#1108)ehmickybefore adoption3b56977
line 3why, one step back3export const earlyErrorOptions = {detached: 'true'};100% test coverage (#1018)ehmickybefore adoption9f65b86
line 4why, one step back4export const getEarlyErrorSubprocess = options => execa('empty.js', {...earlyErrorOptions, ...options});Update test coverage for Node.js 26 (#1242)Sindre Sorhusbefore adoption68986b7
line 5why, one step back5export const earlyErrorOptionsSync = {windowsHide: 'true'};Improve validation and typing of signals (#1025)ehmickybefore adoption7213287
line 6why, one step back6export const getEarlyErrorSubprocessSync = options => execaSync('empty.js', {...earlyErrorOptionsSync, ...options});100% test coverage (#1018)ehmickybefore adoption9f65b86
lines 7–8why, one step back78export const expectedEarlyError = {code: 'ERR_INVALID_ARG_TYPE'};Update test coverage for Node.js 26 (#1242)Sindre Sorhusbefore adoption68986b7
line 9why, one step back9export const expectedEarlyErrorSync = {code: 'ERR_INVALID_ARG_TYPE'};