You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In older implementation there was a requirement to have different capabilities for each platform (Android, iOS, WP8) like deploy via cable, deploy over wi-fi with companion app, etc.
This code is no longer used, so delete the capabilities implementation from the codebase.
awaitassert.isRejected(devicesService.initialize({platform: "invalidPlatform",deviceId: androidDevice.deviceInfo.identifier}),"Deploying to %s connected devices is not supported. Build the app using the `build` command and deploy the package manually.");
677
-
});
678
-
679
672
it("when initialize is called with platform and deviceId and device's platform is different",async()=>{
680
673
assert.isFalse(devicesService.hasDevices,"Initially devicesService hasDevices must be false.");
awaitassert.isRejected(devicesService.initialize(),"Multiple device platforms detected (android and ios). Specify platform or device on command line.");
891
884
});
892
885
893
-
it("when parameters are not passed and devices with invalid platforms are detected initialize should work with correct devices only",async()=>{
894
-
assert.isFalse(devicesService.hasDevices,"Initially devicesService hasDevices must be false.");
0 commit comments