MCPcopy
hub / github.com/snyk/cli / getProxyAccessLog

Function getProxyAccessLog

test/jest/acceptance/proxy-behavior.spec.ts:112–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112async function getProxyAccessLog(): Promise<string> {
113 const check = await startCommand('docker', [
114 'exec',
115 containerName,
116 'cat',
117 '/var/log/squid/access.log',
118 ]);
119 await expect(check).toExitWith(0);
120 return check.stdout.get();
121}
122
123async function runCliWithProxy(
124 env: Record<string, string>,

Callers 1

Calls 3

startCommandFunction · 0.90
toExitWithMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected