From ed9c23ad2e7447ef2e8ee8df05d6fffcb46a8de2 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 20 Oct 2026 13:57:48 -0700 Subject: [PATCH] test(wsl-mover): read the hidden local row through main's per-host hidden-repo API (D1b-7a) --- src/main/runtime/wsl-moved-project-chat-runtime.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/runtime/wsl-moved-project-chat-runtime.test.ts b/src/main/runtime/wsl-moved-project-chat-runtime.test.ts index 0237fac79d6..fa7afd5ffa8 100644 --- a/src/main/runtime/wsl-moved-project-chat-runtime.test.ts +++ b/src/main/runtime/wsl-moved-project-chat-runtime.test.ts @@ -107,8 +107,8 @@ describe('a chat in a project the WSL host now owns', () => { it('hides only the local row from clients, by host, while the host row stays listed', () => { const hidden = runtimeHiddenRepos(store) - expect(hidden.has('repo-1', 'local')).toBe(true) - expect(hidden.has('repo-1', HOST_ID)).toBe(false) + expect(hidden.hasWorktree({ repoId: 'repo-1', hostId: 'local' })).toBe(true) + expect(hidden.hasWorktree({ repoId: 'repo-1', hostId: HOST_ID })).toBe(false) }) it('persists its revealed tab through the freeze and keeps the slept terminal as it was', async () => {