array.test-d.ts
This file
Path
test-d/stdio/array.test-d.ts
14 lines · 788 bytes · TypeScript
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than c8a6ed7 point at it.
Improve documentation (#1003)ehmickybefore adoptionc8a6ed7
lines 1–14why, one step back1import {expectError} from 'tsd';2import {execa, execaSync} from '../../index.js';34expectError(await execa('unicorns', {stdio: []}));5expectError(execaSync('unicorns', {stdio: []}));6expectError(await execa('unicorns', {stdio: ['pipe']}));7expectError(execaSync('unicorns', {stdio: ['pipe']}));8expectError(await execa('unicorns', {stdio: ['pipe', 'pipe']}));9expectError(execaSync('unicorns', {stdio: ['pipe', 'pipe']}));1011await execa('unicorns', {stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe', 'pipe']});12execaSync('unicorns', {stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe', 'pipe']});13expectError(await execa('unicorns', {stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe', 'unknown']}));14expectError(execaSync('unicorns', {stdio: ['pipe', 'pipe', 'pipe', 'pipe', 'pipe', 'unknown']}));