MCPcopy Create free account
hub / github.com/bytebase/dbhub / ssh-config-parser.test.ts

File ssh-config-parser.test.ts

src/utils/__tests__/ssh-config-parser.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach } from 'vitest';
2import { parseSSHConfig, looksLikeSSHAlias, resolveSymlink, parseJumpHost, parseJumpHosts, resolveJumpHosts } from '../ssh-config-parser.js';
3import { mkdtempSync, writeFileSync, rmSync, symlinkSync, mkdirSync, realpathSync, unlinkSync } from 'fs';
4import { tmpdir, homedir } from 'os';

Callers

nothing calls this directly

Calls 7

checkSymlinkSupportFunction · 0.85
parseSSHConfigFunction · 0.85
looksLikeSSHAliasFunction · 0.85
resolveSymlinkFunction · 0.85
parseJumpHostFunction · 0.85
parseJumpHostsFunction · 0.85
resolveJumpHostsFunction · 0.85

Tested by

no test coverage detected