( sessionId?: string, )
| 551 | } |
| 552 | |
| 553 | export async function assertDaemonIsNotRunning( |
| 554 | sessionId?: string, |
| 555 | ): Promise<void> { |
| 556 | const result = await runCli(['status'], sessionId); |
| 557 | assert.strictEqual( |
| 558 | result.stdout, |
| 559 | 'chrome-devtools-mcp daemon is not running.\n', |
| 560 | ); |
| 561 | } |
| 562 | |
| 563 | /** |
| 564 | * Stops the daemon in-process. Use it for test cleanup: it does not spawn |
no test coverage detected