MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / captureHelp

Function captureHelp

src/commands/test.test.ts:225–234  ·  view source on GitHub ↗
(cmd: ReturnType<typeof createTestCommand>)

Source from the content-addressed store, hash-verified

223 // -------------------------------------------------------------------------
224
225 function captureHelp(cmd: ReturnType<typeof createTestCommand>): string {
226 let out = '';
227 cmd.configureOutput({
228 writeOut: (str: string) => {
229 out += str;
230 },
231 });
232 cmd.outputHelp();
233 return out;
234 }
235
236 it('M3.3: test run --help includes GLOBAL_OPTS_HINT', () => {
237 const test = createTestCommand();

Callers 1

test.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected