fix(javascript): report application analysis progress on the CLI (#1008)

* fix(javascript): report application analysis progress on the CLI

* test(cli): preserve progress in filtered output checks
This commit is contained in:
Ysopwnable
2026-10-08 03:19:37 +08:00
committed by GitHub
parent 51956c1a49
commit 7b18c58140
7 changed files with 138 additions and 9 deletions
+3 -3
View File
@@ -245,7 +245,7 @@ describe("compiled CLI output boundary", () => {
expect(result).toMatchObject({
exitCode: 0,
stdout: "{}\n",
stderr: "",
stderr: expect.stringContaining('"rea_progress":'),
json: {},
});
const nested = await cli.run({
@@ -260,7 +260,7 @@ describe("compiled CLI output boundary", () => {
});
expect(nested).toMatchObject({
exitCode: 0,
stderr: "",
stderr: expect.stringContaining('"rea_progress":'),
json: { normalized_result: {} },
});
const selected = await cli.run({
@@ -275,7 +275,7 @@ describe("compiled CLI output boundary", () => {
});
expect(selected).toMatchObject({
exitCode: 0,
stderr: "",
stderr: expect.stringContaining('"rea_progress":'),
json: {
normalized_result: {
summary: expect.objectContaining({ browser_windows: 0 }),