MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / assertDaemonIsNotRunning

Function assertDaemonIsNotRunning

tests/utils.ts:496–504  ·  view source on GitHub ↗
(
  sessionId?: string,
)

Source from the content-addressed store, hash-verified

494}
495
496export 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

Calls 1

runCliFunction · 0.85

Tested by

no test coverage detected