(t, getInstallScripts)
| 8 | // so script detection (including the synthetic node-gyp `binding.gyp` path) |
| 9 | // can be controlled without touching the filesystem. |
| 10 | const mockCollect = (t, getInstallScripts) => |
| 11 | t.mock('../lib/unreviewed-scripts.js', { |
| 12 | '../lib/install-scripts.js': getInstallScripts, |
| 13 | }).collectUnreviewedScripts |
| 14 | |
| 15 | // Minimal tree fixture for the walk. |
| 16 | const tree = (nodes) => ({ |