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

Function stubRun

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

Source from the content-addressed store, hash-verified

57}
58
59function stubRun(name) {
60 commands[name] = require(`../../../lib/commands/${name}`);
61 return td.replace(commands[name].prototype, 'run', td.function());
62}
63
64describe('Unit: CLI', function () {
65 beforeEach(function () {

Callers 1

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…