import { describe, it, expect } from 'vitest' import type { JumpHostConfig, SSHConnectionConfig } from '../../shared/types/session.types' describe('JumpHost types', () => { it('allows jumpHost on connection config', () => { const jump: JumpHostConfig = { host: 'bastion.example.com', port: 22, username: 'ops', authType: 'key', privateKey: '~/.ssh/id_ed25519', } const config: SSHConnectionConfig = { host: '10.0.0.5', port: 22, username: 'root', jumpHost: jump, } expect(config.jumpHost?.host).toBe('bastion.example.com') expect(config.host).toBe('10.0.0.5') }) })