Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(android): retain incomplete cleanup failure reasons (#1443)

Ysopwnable4e3d33543973
diff --git a/tests/fixtures/android/jadx.ts b/tests/fixtures/android/jadx.ts
index 3488647a0..c82469039 100644
--- a/tests/fixtures/android/jadx.ts
+++ b/tests/fixtures/android/jadx.ts
@@ -74,7 +74,10 @@ export const createJadxProtocolFixture = async (
ownsProcessLifetime: true,
cleanup: () => cleanupOwnedProcessGroup(spawned.ownership),
});
- expect((await supervisor.stop()).status).not.toBe("incomplete");
+ const stopped = await supervisor.stop();
+ expect(stopped, JSON.stringify(stopped)).not.toMatchObject({
+ status: "incomplete",
+ });
if (options.cwd !== undefined)
await rm(options.cwd, { recursive: true, force: true });
});