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

Function noTemporaryFile

__tests__/daemon-lock-refresh.test.ts:35–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34 const denied = (code: string) => Object.assign(new Error('sharing violation'), { code });
35 const noTemporaryFile = () => expect(fs.readdirSync(root)).toEqual(['daemon.pid']);
36
37 it.each(['EPERM', 'EACCES', 'EBUSY'])('survives a transient %s without exposing a partial record', (code) => {
38 vi.mocked(fs.renameSync).mockImplementationOnce(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected