From 3fc551b666271d628002d3bb3e7590c598ec84e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E9=9D=99=E5=87=A1?= <30424139+wtto00@users.noreply.github.com> Date: Sat, 16 Sep 2023 02:27:19 +0800 Subject: [PATCH] chore: ci --- spec/afterStart.test.ts | 2 ++ src/util.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/spec/afterStart.test.ts b/spec/afterStart.test.ts index 03c431d..d3f48fa 100644 --- a/spec/afterStart.test.ts +++ b/spec/afterStart.test.ts @@ -17,6 +17,8 @@ describe("after start a emulator", () => { } else { avdName = avds[0].Name; } + const avds1 = await android.listAVDs(); + console.log("avds", avds1); const res = await android.start(avdName); emulatorId = res.id; if (emulatorId) { diff --git a/src/util.ts b/src/util.ts index cf4e7e8..7299b8a 100644 --- a/src/util.ts +++ b/src/util.ts @@ -94,6 +94,7 @@ export function spawnWaitFor(command: string, regex: RegExp, timeout = 120000) { } }); proc.on("close", (code, signal) => { + console.log("error", proc.stderr); clearTimeout(clock); reject(Error(output)); });