The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(projects): adapt NFC regression to the current session fixture
Ayush Nangia2fabc7829263
diff --git a/apps/desktop/src/app/chat/sidebar/projects/workspace-groups.test.ts b/apps/desktop/src/app/chat/sidebar/projects/workspace-groups.test.tsindex fdf77e67fa2..4490abb5f33 100644--- a/apps/desktop/src/app/chat/sidebar/projects/workspace-groups.test.ts+++ b/apps/desktop/src/app/chat/sidebar/projects/workspace-groups.test.ts@@ -568,11 +568,11 @@ describe('liveSessionProjectId', () => {const nfd = nfc.normalize('NFD')expect(nfd).not.toBe(nfc) // premise: distinct byte strings- expect(liveSessionProjectId(makeSession(nfd), [makeProject('p_bistand', [nfc])])).toBe('p_bistand')+ expect(liveSessionProjectId(makeCwdSession(nfd), [makeProject('p_bistand', [nfc])])).toBe('p_bistand')})it('matches a Windows cwd differing in both case and normalization form (#65014)', () => {- const id = liveSessionProjectId(makeSession('d:/projects/sv/bist\u00e5nd'.normalize('NFD')), [+ const id = liveSessionProjectId(makeCwdSession('d:/projects/sv/bist\u00e5nd'.normalize('NFD')), [makeProject('p_sv', ['D:\\Projects\\SV\\Bist\u00e5nd'.normalize('NFC')])])