mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 21:04:45 +00:00
test: tighten typing ttl warning assertion
This commit is contained in:
@@ -232,7 +232,9 @@ describe("createTypingCallbacks", () => {
|
||||
|
||||
// Should auto-stop
|
||||
expect(stop).toHaveBeenCalledTimes(1);
|
||||
expect(consoleWarn).toHaveBeenCalledWith(expect.stringContaining("TTL exceeded"));
|
||||
expect(consoleWarn).toHaveBeenCalledWith(
|
||||
"[typing] TTL exceeded (10000ms), auto-stopping typing indicator",
|
||||
);
|
||||
|
||||
consoleWarn.mockRestore();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user