MCPcopy Create free account
hub / github.com/appium/appium / constructor

Method constructor

packages/fake-plugin/lib/plugin.ts:81–85  ·  view source on GitHub ↗
(name: string, cliArgs: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

79 private ipcPluginMath?: IIpcSubscription<number>;
80
81 constructor(name: string, cliArgs: Record<string, unknown> = {}) {
82 super(name, cliArgs);
83 this.fakeThing = 'PLUGIN_FAKE_THING';
84 void this.startClock();
85 }
86
87 static fakeRoute(_req: Request, res: Response): void {
88 res.send(JSON.stringify({fake: 'fakeResponse'}));

Callers

nothing calls this directly

Calls 1

startClockMethod · 0.95

Tested by

no test coverage detected