mocks can be passed in to require() statements. When mocks are defined the module cache will be bypassed. Mocks are passed through to all sub requests, this results in creating a kind of scope for all require() calls.