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

Function stepFilenamePrefix

src/lib/bundle.ts:347–349  ·  view source on GitHub ↗
(stepIndex: number)

Source from the content-addressed store, hash-verified

345 * naturally without breaking existing fixtures.
346 */
347export function stepFilenamePrefix(stepIndex: number): string {
348 return stepIndex >= 100 ? String(stepIndex).padStart(3, '0') : String(stepIndex).padStart(2, '0');
349}
350
351/**
352 * Build the §7.1 meta.json given a context. Pure function, no I/O —

Callers 3

plannedBundleFilesFunction · 0.85
writeStepArtifactsFunction · 0.85
bundle.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected