MCPcopy
hub / github.com/vitest-dev/vitest / send

Method send

packages/browser/src/node/cdp.ts:14–16  ·  view source on GitHub ↗
(method: string, params?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

12 ) {}
13
14 send(method: string, params?: Record<string, unknown>): Promise<unknown> {
15 return this.session.send(method as any, params)
16 }
17
18 on(event: string, id: string, once = false): void {
19 if (!this.listenerIds[event]) {

Callers 12

createClientFunction · 0.45
sendCdpEventFunction · 0.45
setupClientFunction · 0.45
_startV8CoverageFunction · 0.45
_takeV8CoverageFunction · 0.45
createClientFunction · 0.45
setViewportMethod · 0.45
rpcFunction · 0.45
configureServerFunction · 0.45
getFactoryExportsFunction · 0.45
configureServerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected