MCPcopy
hub / github.com/appium/appium / mockProxy

Function mockProxy

test/jsonwp-proxy/proxy-specs.js:31–37  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

29}
30
31function mockProxy (opts = {}) {
32 let proxy = new JWProxy(opts);
33 proxy.request = async function (...args) {
34 return await request(...args);
35 };
36 return proxy;
37}
38
39describe('proxy', function () {
40 it('should override default params', function () {

Callers 1

proxy-specs.jsFile · 0.85

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…