MCPcopy
hub / github.com/yeoman/yo / fakeEnv

Function fakeEnv

test/helpers.js:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12});
13
14export const fakeEnv = () => {
15 const env = createEnv();
16 sinon.stub(env, 'lookup');
17 sinon.stub(env, 'run');
18 return env;
19};

Callers 3

route-home.jsFile · 0.90
router.jsFile · 0.90
route-run.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…