@boost/cliTest utilitiesFunctionsmockProgrammockProgram CallablemockProgram(options?: Partial<ProgramOptions>, streams?: ProgramStreams): ProgramReturns a Program instance with required options pre-filled and streams mocked (unless manually provided). import { mockProgram } from '@boost/cli/test';const program = mockProgram({ name: 'Example' });
Returns a
Program
instance with required options pre-filled and streams mocked (unless manually provided).