From 5fd43edcbb1ff453e68cf809d69692d1fbfc68d0 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Sat, 5 Mar 2022 00:18:03 +0100 Subject: [PATCH] chore: fix android tests after #12220 (#12535) --- packages/playwright-core/src/client/android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/client/android.ts b/packages/playwright-core/src/client/android.ts index a929e8f37b..360a25a09e 100644 --- a/packages/playwright-core/src/client/android.ts +++ b/packages/playwright-core/src/client/android.ts @@ -47,7 +47,7 @@ export class Android extends ChannelOwner implements ap this._channel.setDefaultTimeoutNoReply({ timeout }); } - async devices(options: { port?: number }): Promise { + async devices(options: { port?: number } = {}): Promise { const { devices } = await this._channel.devices(options); return devices.map(d => AndroidDevice.from(d)); }