(extra: Record<string, unknown> = {})
| 46 | } |
| 47 | |
| 48 | function localInputs(extra: Record<string, unknown> = {}) { |
| 49 | return { |
| 50 | mode: 'local', |
| 51 | task: 'do the thing', |
| 52 | model: 'claude', |
| 53 | host: 'box.example.com', |
| 54 | username: 'deploy', |
| 55 | authMethod: 'password', |
| 56 | password: 'pw', |
| 57 | repoPath: '/srv/repo', |
| 58 | ...extra, |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | describe('PiBlockHandler', () => { |
| 63 | const handler = new PiBlockHandler() |