fix(fake): ensure fake plugin new methods are never proxied
MODIFY
packages/appium-plugins/packages/fake/lib/plugin.js
packages/appium-plugins/packages/fake/lib/plugin.js
@@ -16,11 +16,11 @@ export default class FakePlugin extends BasePlugin {
static newMethodMap = {
'/session/:sessionId/fake_data': {
- GET: {command: 'getFakeSessionData'},
- POST: {command: 'setFakeSessionData', payloadParams: {required: ['data']}}
+ GET: {command: 'getFakeSessionData', neverProxy: true},
+ POST: {command: 'setFakeSessionData', payloadParams: {required: ['data']}, neverProxy: true}
},
'/session/:sessionId/fakepluginargs': {
- GET: {command: 'getFakePluginArgs'}
+ GET: {command: 'getFakePluginArgs', neverProxy: true}
},
};

fix(fake): ensure fake plugin new methods are never proxied