()
| 93 | it('exits only once the project has stayed gone for the grace period', () => { |
| 94 | const d = makeDaemon(30_000); |
| 95 | const gone = () => 'its lock file was removed'; |
| 96 | expect(d.checkProject(gone, 1_000)).toBe(false); |
| 97 | expect(d.checkProject(gone, 30_999)).toBe(false); |
| 98 | expect(d.stop).not.toHaveBeenCalled(); |