Commit c6459ae
test(tools): compare child cwd against its real path (#47)
The passthrough test compared the child's process.cwd() (a resolved physical
path) against the symlinked temp dir spelling, so the suite was red on macOS
where os.tmpdir() is /var/... (a symlink to /private/var/...). Compare against
realpathSync(cwd) — a no-op on platforms without the symlink.
Co-authored-by: Esteban Espin <estebanespin@MacBook-Air-de-Esteban.local>1 parent 3673d3e commit c6459ae
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
0 commit comments