(nodes)
| 14 | |
| 15 | // Minimal tree fixture for the walk. |
| 16 | const tree = (nodes) => ({ |
| 17 | inventory: new Map(nodes.map((n, i) => [`node_modules/${n.name || `n${i}`}`, n])), |
| 18 | }) |
| 19 | |
| 20 | // Registry-shaped node so the real script-allowed/install-scripts helpers |
| 21 | // behave deterministically (registry tarballs skip `prepare`, and the |
no outgoing calls
no test coverage detected