(step: string, args: string[], expectedStatus = 0)
| 71 | let artifactDir: string | null = null; |
| 72 | |
| 73 | function runStep(step: string, args: string[], expectedStatus = 0): CliJsonResult { |
| 74 | const result = runCliJson(args, { env: extraEnv }); |
| 75 | recordStep(step, args, result); |
| 76 | maybeCaptureSnapshot(args, result); |
| 77 | if (result.status !== expectedStatus) { |
| 78 | failWithContext(step, args, result); |
| 79 | } |
| 80 | return result; |
| 81 | } |
| 82 | |
| 83 | function runCleanupStep(step: string, args: string[]): CliJsonResult { |
| 84 | const result = runCliJson(args, { env: extraEnv }); |
nothing calls this directly
no test coverage detected