Skip to content

armgit / rea

Public Imported from GitHub
0

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

test(process): print the progress frames when the sparse-child bound fails (#6427)

Cassie_Fox21b836a32710
diff --git a/tests/boundary/process/processCaptureProgress.test.ts b/tests/boundary/process/processCaptureProgress.test.ts
index 17ab9fb79..86c556c3b 100644
--- a/tests/boundary/process/processCaptureProgress.test.ts
+++ b/tests/boundary/process/processCaptureProgress.test.ts
@@ -273,7 +273,10 @@ itWithCaptureCapability(
expect(Math.max(...elapsed) - Math.min(...elapsed)).toBeGreaterThanOrEqual(
1_000,
);
- expect(running.every(({ details }) => details.frames <= 2)).toBe(true);
+ expect(
+ running.every(({ details }) => details.frames <= 2),
+ `running progress details: ${JSON.stringify(running.map(({ details }) => details))}`,
+ ).toBe(true);
expect(updates.at(-1)).toMatchObject({
phase: "cleanup",
terminal: true,