UNPKG

firmament-yargs

Version:

Typescript classes for building CLI node applications

10 lines (9 loc) 411 B
/// <reference types="node" /> import { ChildProcess } from 'child_process'; import { ChildProcessSpawn } from '../../interfaces/child-process-spawn'; import { SpawnOptions2 } from '../../custom-typings'; export declare class MockChildProcessSpawnImpl implements ChildProcessSpawn { private mockSpawn; constructor(); spawn(command: string, args?: string[], options?: SpawnOptions2): ChildProcess; }