parent
6c4c62b674
commit
5fd43edcbb
|
|
@ -47,7 +47,7 @@ export class Android extends ChannelOwner<channels.AndroidChannel> implements ap
|
||||||
this._channel.setDefaultTimeoutNoReply({ timeout });
|
this._channel.setDefaultTimeoutNoReply({ timeout });
|
||||||
}
|
}
|
||||||
|
|
||||||
async devices(options: { port?: number }): Promise<AndroidDevice[]> {
|
async devices(options: { port?: number } = {}): Promise<AndroidDevice[]> {
|
||||||
const { devices } = await this._channel.devices(options);
|
const { devices } = await this._channel.devices(options);
|
||||||
return devices.map(d => AndroidDevice.from(d));
|
return devices.map(d => AndroidDevice.from(d));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue