mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
test: check progress log output
This commit is contained in:
@@ -37,9 +37,7 @@ describe("cli progress", () => {
|
||||
progress.setPercent(50);
|
||||
progress.done();
|
||||
|
||||
const output = writes.join("");
|
||||
expect(output).toContain("Indexing memory... 0%");
|
||||
expect(output).toContain("Indexing memory... 50%");
|
||||
expect(writes).toEqual(["Indexing memory... 0%\n", "Indexing memory... 50%\n"]);
|
||||
});
|
||||
|
||||
it("does not log without a tty when fallback is none", () => {
|
||||
|
||||
Reference in New Issue
Block a user