()
| 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(() => { |
no outgoing calls
no test coverage detected