Repository navigation
Commit 3f206ce
committed
test: build the generator fixtures under a real path
`os.tmpdir()` is a symlink on macOS, and webpack resolves a module through
the real path, so a module under a symlinked context is not named relative
to it — `./image.jpg` came back as `../<realdir>/image.jpg` and the lookup
found nothing.
Latent until now: both tests return early unless `processResult` can be
awaited, which webpack 5.111.0 shipped today, so this is the first run in
which they execute at all.1 parent d4b3096 commit 3f206ce
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
1258 | | - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
1259 | 1264 | | |
1260 | 1265 | | |
1261 | 1266 | | |
| |||
1393 | 1398 | | |
1394 | 1399 | | |
1395 | 1400 | | |
1396 | | - | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1397 | 1404 | | |
1398 | 1405 | | |
1399 | 1406 | | |
| |||
0 commit comments