This repository was archived by the owner on Feb 14, 2026. It is now read-only.
Commit 0af1172
fix(test): use getProjectPath in sessionScanner test for consistent path calculation
The test was failing because it manually calculated the project directory path
by only replacing `/` with `-`, while getProjectPath replaces additional
characters including underscores. On macOS, temp directory paths contain
underscores, causing a path mismatch.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6bebc6b commit 0af1172
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments