Skip to content

Commit 38edf6b

Browse files
committed
fix(tui): satisfy no-promise-executor-return lint rule in chat-log test
1 parent d22dabb commit 38edf6b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tui/components/chat-log.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ describe("ChatLog", () => {
137137
expect(chatLog.children.length).toBe(1);
138138

139139
// Wait past the 50ms TTL so the marker expires.
140-
await new Promise((resolve) => setTimeout(resolve, 60));
140+
await new Promise((resolve) => {
141+
setTimeout(resolve, 60);
142+
});
141143

142144
// Live final: same text, has runId, but marker already expired.
143145
chatLog.finalizeAssistant("Hello from Telegram", "run-telegram");

0 commit comments

Comments
 (0)