MCPcopy
hub / github.com/ionic-team/capacitor / mockAndroidBridge

Function mockAndroidBridge

core/src/tests/plugin.spec.ts:332–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 });
331
332 const mockAndroidBridge = () => {
333 win.androidBridge = {
334 postMessage: () => {
335 // ignore
336 },
337 };
338 };
339
340 const mockAndroidPlugin = (pluginClassName: string, methodName: string) => {
341 const w: any = win;

Callers 1

plugin.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected