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

Function pad

src/commands/test.ts:8309–8312  ·  view source on GitHub ↗
(s: string, width: number)

Source from the content-addressed store, hash-verified

8307}
8308
8309function pad(s: string, width: number): string {
8310 if (s.length >= width) return s;
8311 return s + ' '.repeat(width - s.length);
8312}
8313
8314function createTestCodeCommand(deps: TestDeps): Command {
8315 const code = new Command('code').description('Inspect and edit generated test code');

Callers 2

renderTestListTextFunction · 0.70
renderStepsTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected