MCPcopy Create free account
hub / github.com/angular/angular / uninstallWebMcpMock

Function uninstallWebMcpMock

packages/private/testing/src/webmcp_mock.ts:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 * Uninstalls the current WebMCP mock from the document.
67 */
68export function uninstallWebMcpMock() {
69 const doc = document as {modelContext?: unknown};
70
71 if (doc.modelContext instanceof ModelContextMock) {
72 delete doc.modelContext;
73 }
74}

Callers 3

webmcp.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected