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

Function assertDaemonIsNotRunning

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

Source from the content-addressed store, hash-verified

551}
552
553export 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

Calls 1

runCliFunction · 0.85

Tested by

no test coverage detected