Commit 30ccaf0
committed
fix(test): normalize projectRoot for cross-platform path comparison
The git-extended test was failing on Windows because projectRoot from
process.cwd() used backslashes while getChangedFiles returns normalized
paths with forward slashes. This caused toContain() comparison to fail.
Solution: normalize projectRoot using normalizePath to ensure consistent
forward slash usage across all platforms.1 parent fce55dd commit 30ccaf0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments