()
| 17 | const daemonPid = 123_456; |
| 18 | |
| 19 | function createMissingPidError(): NodeJS.ErrnoException { |
| 20 | const error = new Error('no such process') as NodeJS.ErrnoException; |
| 21 | error.code = 'ESRCH'; |
| 22 | return error; |
| 23 | } |
| 24 | |
| 25 | function createEntry(overrides: Partial<DaemonRegistryEntry> = {}): DaemonRegistryEntry { |
| 26 | const workspaceKey = overrides.workspaceKey ?? 'workspace-a'; |
no outgoing calls
no test coverage detected