(sessionId: string)
| 508 | * a CLI process, which takes about a second per call. |
| 509 | */ |
| 510 | export async function stopDaemonForCleanup(sessionId: string): Promise<void> { |
| 511 | await stopDaemon(sessionId); |
| 512 | assert.ok(!isDaemonRunning(sessionId), 'daemon is still running'); |
| 513 | } |
| 514 | |
| 515 | /** |
| 516 | * Creates a new CLI session ID for one test and stops its daemon after the |
no test coverage detected