(root: string, pid: number)
| 29 | const BIN = path.resolve(__dirname, '../dist/bin/codegraph.js'); |
| 30 | |
| 31 | function writeLock(root: string, pid: number): string { |
| 32 | const pidPath = getDaemonPidPath(root); |
| 33 | fs.writeFileSync(pidPath, encodeLockInfo({ pid, version: '0.0.0-test', socketPath: 'x', startedAt: Date.now() })); |
| 34 | return pidPath; |
| 35 | } |
| 36 | |
| 37 | describe('projectGoneReason (#3245)', () => { |
| 38 | let root: string; |
no test coverage detected