MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / stubValidateAndRunHelp

Function stubValidateAndRunHelp

tests/unit/cli/cli-test.js:47–51  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

45}
46
47function stubValidateAndRunHelp(name) {
48 let stub = stubValidateAndRun(name);
49 td.when(stub(), { ignoreExtraArgs: true, times: 1 }).thenReturn('callHelp');
50 return stub;
51}
52
53function stubValidateAndRun(name) {
54 commands[name] = require(`../../../lib/commands/${name}`);

Callers 1

cli-test.jsFile · 0.85

Calls 1

stubValidateAndRunFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…