(input: Partial<SessionLifecycleInput> = {})
| 6 | import type { SessionLifecycleInput } from './sessionLifecycle.js' |
| 7 | |
| 8 | function base(input: Partial<SessionLifecycleInput> = {}) { |
| 9 | return { |
| 10 | sdkUrl: undefined, |
| 11 | print: undefined, |
| 12 | inputFormat: undefined, |
| 13 | outputFormat: undefined, |
| 14 | remote: null, |
| 15 | teleport: null, |
| 16 | hasPendingConnect: false, |
| 17 | hasPendingSSH: false, |
| 18 | hasPendingAssistant: false, |
| 19 | ...input, |
| 20 | } as SessionLifecycleInput |
| 21 | } |
| 22 | |
| 23 | describe('determineSessionLifecycle', () => { |
| 24 | it('returns "noninteractive" for SDK stream-json mode', () => { |
no outgoing calls
no test coverage detected