RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_6b6686dc-4c2-27/apps/app stdout | src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > documents the actual (buggy) behaviour on 16ceb3a54 resolved href: /Users/me/bb/~/.config/example.md -> workspace link: { lineRange: null, path: '/Users/me/bb/~/.config/example.md' } ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts (11 tests | 7 failed) 9ms × leaves ~ as plain text (not a workspace file) 4ms × leaves ~/.config/example.md as plain text (not a workspace file) 1ms × leaves %7E/.config/example.md as plain text (not a workspace file) 0ms × leaves ~/.config/example.md:12 as plain text (not a workspace file) 0ms × leaves ~/notes.md#L3-L5 as plain text (not a workspace file) 0ms × leaves ~alice/notes.md as plain text (not a workspace file) 0ms × documents the actual (buggy) behaviour on 16ceb3a54 1ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 7 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves ~ as plain text (not a workspace file) AssertionError: expected '/Users/me/bb/~' to be null - Expected: null + Received: "/Users/me/bb/~" ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:27:22 25| }); 26| // BUG on 16ceb3a54: this returns "/Users/me/bb/~/.config/example.… 27| expect(resolved).toBeNull(); | ^ 28| }); 29| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/7]⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves ~/.config/example.md as plain text (not a workspace file) FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves %7E/.config/example.md as plain text (not a workspace file) AssertionError: expected '/Users/me/bb/~/.config/example.md' to be null - Expected: null + Received: "/Users/me/bb/~/.config/example.md" ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:27:22 25| }); 26| // BUG on 16ceb3a54: this returns "/Users/me/bb/~/.config/example.… 27| expect(resolved).toBeNull(); | ^ 28| }); 29| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/7]⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves ~/.config/example.md:12 as plain text (not a workspace file) AssertionError: expected '/Users/me/bb/~/.config/example.md:12' to be null - Expected: null + Received: "/Users/me/bb/~/.config/example.md:12" ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:27:22 25| }); 26| // BUG on 16ceb3a54: this returns "/Users/me/bb/~/.config/example.… 27| expect(resolved).toBeNull(); | ^ 28| }); 29| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/7]⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves ~/notes.md#L3-L5 as plain text (not a workspace file) AssertionError: expected '/Users/me/bb/~/notes.md#L3-L5' to be null - Expected: null + Received: "/Users/me/bb/~/notes.md#L3-L5" ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:27:22 25| }); 26| // BUG on 16ceb3a54: this returns "/Users/me/bb/~/.config/example.… 27| expect(resolved).toBeNull(); | ^ 28| }); 29| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/7]⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > leaves ~alice/notes.md as plain text (not a workspace file) AssertionError: expected '/Users/me/bb/~alice/notes.md' to be null - Expected: null + Received: "/Users/me/bb/~alice/notes.md" ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:27:22 25| }); 26| // BUG on 16ceb3a54: this returns "/Users/me/bb/~/.config/example.… 27| expect(resolved).toBeNull(); | ^ 28| }); 29| ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/7]⎯ FAIL src/components/ui/markdown-local-file-link.issue-1182.test.ts > issue #1182: home-relative hrefs > documents the actual (buggy) behaviour on 16ceb3a54 AssertionError: expected '/Users/me/bb/~/.config/example.md' not to be '/Users/me/bb/~/.config/example.md' // Object.is equality ❯ src/components/ui/markdown-local-file-link.issue-1182.test.ts:62:28 60| // eslint-disable-next-line no-console 61| console.log("resolved href:", resolved, "-> workspace link:", link… 62| expect(link?.path).not.toBe("/Users/me/bb/~/.config/example.md"); | ^ 63| }); 64| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/7]⎯ Test Files 1 failed (1) Tests 7 failed | 4 passed (11) Start at 14:27:07 Duration 172ms (transform 38ms, setup 22ms, import 30ms, tests 9ms, environment 0ms)