(commands: string[], responseLevel?: ResponseLevel)
| 53 | } |
| 54 | |
| 55 | function batchRequest(commands: string[], responseLevel?: ResponseLevel): BatchRequest { |
| 56 | return { |
| 57 | token: 't', |
| 58 | command: 'batch', |
| 59 | positionals: [], |
| 60 | flags: { batchSteps: commands.map((command) => ({ command })) }, |
| 61 | ...(responseLevel ? { meta: { responseLevel } } : {}), |
| 62 | }; |
| 63 | } |
| 64 | |
| 65 | test('batch elides intermediate steps to digest, final step keeps requested level (full)', async () => { |
| 66 | const seen: (ResponseLevel | undefined)[] = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…