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

Function stubValidateAndRun

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

Source from the content-addressed store, hash-verified

51}
52
53function stubValidateAndRun(name) {
54 commands[name] = require(`../../../lib/commands/${name}`);
55
56 return td.replace(commands[name].prototype, 'validateAndRun', td.function());
57}
58
59function stubRun(name) {
60 commands[name] = require(`../../../lib/commands/${name}`);

Callers 2

stubValidateAndRunHelpFunction · 0.85
cli-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…