Skip to content
Myr

all.test-d.ts

This file

Path

test-d/subprocess/all.test-d.ts

9 lines · 316 bytes · TypeScript

Last changed by

Move type tests from `tsd` to `nz`Sindre Sorhusbefore adoption2141147

History of this file

Take it

The walk stopped after 200 commits: lines older than 9f65b86 point at it.

100% test coverage (#1018)ehmickybefore adoption9f65b86

line 1why, one step back
1import type {Readable} from 'node:stream';

Move type tests from `tsd` to `nz`Sindre Sorhusbefore adoption2141147

line 2why, one step back
2import {expectTypeOf} from 'nz';

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 3–5why, one step back
3import {execa} from '../../index.js';
45const allSubprocess = execa('unicorns', {all: true});

Move type tests from `tsd` to `nz`Sindre Sorhusbefore adoption2141147

line 6why, one step back
6expectTypeOf(allSubprocess.all).toBe<Readable>();

100% test coverage (#1018)ehmickybefore adoption9f65b86

lines 7–8why, one step back
7
8const noAllSubprocess = execa('unicorns');

Move type tests from `tsd` to `nz`Sindre Sorhusbefore adoption2141147

line 9why, one step back
9expectTypeOf(noAllSubprocess.all).toBe<undefined>();