Commit 8e00522
committed
test: stub fs.access in fast-path get tests
The fast-path resolver now does a real fs.promises.access on the
persisted path. The manager-level fast-path tests use synthetic
paths that don't exist, causing tryFastPathGet to fall through to
real initialization (and TypeError / 180s timeouts). Stub access
to resolve so the fast path still fires.1 parent c58ca22 commit 8e00522
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
287 | 291 | | |
288 | 292 | | |
289 | 293 | | |
| |||
0 commit comments