Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
},
udid: null,
realDevice: null
};
});
sandbox.stub(driver, 'configureApp').callsFake(_.noop);
sandbox.stub(driver, 'startLogCapture').callsFake(_.noop);
sandbox.stub(driver, 'startSim').callsFake(_.noop);
sandbox.stub(driver, 'startWdaSession').callsFake(_.noop);
sandbox.stub(driver, 'startWda').callsFake(_.noop);
sandbox.stub(driver, 'setReduceMotion').callsFake(_.noop);
sandbox.stub(driver, 'installAUT').callsFake(_.noop);
sandbox.stub(driver, 'connectToRemoteDebugger').callsFake(_.noop);
sandbox.stub(iosDriver.settings, 'setLocale').callsFake(_.noop);
sandbox.stub(iosDriver.settings, 'setPreferences').callsFake(_.noop);
sandbox.stub(xcode, 'getMaxIOSSDK').callsFake(async () => '10.0'); // eslint-disable-line require-await
sandbox.stub(utils, 'checkAppPresent').callsFake(_.noop);
sandbox.stub(iosDriver.appUtils, 'extractBundleId').callsFake(_.noop);
});
return '/path/to/uds.socket';
},
},
udid: null,
realDevice: null
};
});
sandbox.stub(driver, 'configureApp').callsFake(_.noop);
sandbox.stub(driver, 'startLogCapture').callsFake(_.noop);
sandbox.stub(driver, 'startSim').callsFake(_.noop);
sandbox.stub(driver, 'startWdaSession').callsFake(_.noop);
sandbox.stub(driver, 'startWda').callsFake(_.noop);
sandbox.stub(driver, 'setReduceMotion').callsFake(_.noop);
sandbox.stub(driver, 'installAUT').callsFake(_.noop);
sandbox.stub(driver, 'connectToRemoteDebugger').callsFake(_.noop);
sandbox.stub(iosDriver.settings, 'setLocale').callsFake(_.noop);
sandbox.stub(iosDriver.settings, 'setPreferences').callsFake(_.noop);
sandbox.stub(xcode, 'getMaxIOSSDK').callsFake(async () => '10.0'); // eslint-disable-line require-await
sandbox.stub(utils, 'checkAppPresent').callsFake(_.noop);
sandbox.stub(iosDriver.appUtils, 'extractBundleId').callsFake(_.noop);
});