Skip to content

Commit cc23ae6

Browse files
Alb11747codex
andcommitted
test(web): dispose delegated notification lookup spy
Co-Authored-By: GPT-6.1 Sol at medium effort <[email protected]> Co-Authored-By: GPT-6.1 Sol at xhigh effort, review subagent <[email protected]>
1 parent 56cddb3 commit cc23ae6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/web/src/components/chat/MessagesTimeline.browser.test.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ describe("MessagesTimeline work rows", () => {
200200
task("continued", "completed", "Final implementation report"),
201201
task("follow-up", "completed", "Follow-up explanation"),
202202
];
203-
vi.spyOn(environmentThreadDetails, "threadAtom").mockReturnValue(
203+
using _threadAtom = vi.spyOn(environmentThreadDetails, "threadAtom").mockReturnValue(
204204
Atom.make({
205205
projection: { subagents: tasks, turnItems: [], visibleTurnItems: [] },
206206
}) as never,
@@ -239,7 +239,6 @@ describe("MessagesTimeline work rows", () => {
239239
}
240240
},
241241
);
242-
243242
});
244243

245244
describe("MessagesTimeline messages", () => {

0 commit comments

Comments
 (0)