( sessionId?: string, )
| 494 | } |
| 495 | |
| 496 | export async function assertDaemonIsNotRunning( |
| 497 | sessionId?: string, |
| 498 | ): Promise<void> { |
| 499 | const result = await runCli(['status'], sessionId); |
| 500 | assert.strictEqual( |
| 501 | result.stdout, |
| 502 | 'chrome-devtools-mcp daemon is not running.\n', |
| 503 | ); |
| 504 | } |
| 505 | |
| 506 | /** |
| 507 | * Stops the daemon in-process. Use it for test cleanup: it does not spawn |
no test coverage detected