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

Function buildCommand

tests/unit/commands/init-test.js:39–49  ·  view source on GitHub ↗
(projectOpts)

Source from the content-addressed store, hash-verified

37 });
38
39 function buildCommand(projectOpts) {
40 let cli = new MockCLI({ ui });
41 let options = {
42 ui,
43 project: new Project(process.cwd(), projectOpts || { name: 'some-random-name' }, ui, cli),
44 tasks,
45 settings: {},
46 };
47
48 command = new InitCommand(options);
49 }
50
51 it("doesn't allow to create an application named `test`", function () {
52 buildCommand({ name: 'test' });

Callers 1

init-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…