(args: string[])
| 13 | const URL_BIN = path.join(ROOT, 'bin', 'gstack-artifacts-url'); |
| 14 | |
| 15 | function run(args: string[]): { code: number; stdout: string; stderr: string } { |
| 16 | const r = spawnSync(URL_BIN, args, { encoding: 'utf-8' }); |
| 17 | return { |
| 18 | code: r.status ?? -1, |
| 19 | stdout: (r.stdout || '').trim(), |
| 20 | stderr: (r.stderr || '').trim(), |
| 21 | }; |
| 22 | } |
| 23 | |
| 24 | describe('gstack-artifacts-url', () => { |
| 25 | test('--to ssh from canonical https', () => { |
no test coverage detected