The seams apply reaches the world through. All three default to the real thing.
import type { InstallDeps } from './install.ts'; const deps: InstallDeps = { access: () => Promise.reject(new Error('EACCES')) }; deps.access !== undefined; // true — a read-only install directory, with no chmod in sight