Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

test(sidebar): update flat history assertion

vastsa67473c226dde
diff --git a/apps/desktop/test/sidebar-collapse-animation.test.mjs b/apps/desktop/test/sidebar-collapse-animation.test.mjs
index 6fdbd42fb..7038fc84d 100644
--- a/apps/desktop/test/sidebar-collapse-animation.test.mjs
+++ b/apps/desktop/test/sidebar-collapse-animation.test.mjs
@@ -282,7 +282,7 @@ test("the project body renders the grid, clip, and list layers", () => {
// fold is supposed to carry away.
assert.match(
sidebarSource,
- /sidebar-session-group-list">\s*\{entry\.sessions\.length > 0 \? renderTimeGroupedSessions\(visibleSessions\) : \(/,
+ /sidebar-session-group-list">\s*\{entry\.sessions\.length > 0 \? renderProjectSessions\(visibleSessions\) : \(/,
);
});