MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / gitRuns

Function gitRuns

__tests__/status-sparse-checkout.test.ts:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 const gitSeesNothing = () => expect(git('status', '--porcelain')).toBe('');
58 /** The git commands run since the last clear, each as one string. */
59 const gitRuns = () => vi.mocked(cp.execFileSync).mock.calls
60 .filter(([cmd]) => cmd === 'git')
61 .map(([, args]) => (args as string[]).join(' '));
62
63 beforeEach(() => {
64 made = [];

Callers 2

statusRunsFunction · 0.85
scansFunction · 0.85

Calls 2

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected