MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / constructor

Method constructor

tests/helpers/mock-project.js:8–24  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

6
7class MockProject extends Project {
8 constructor(options = {}) {
9 let root = options.root || process.cwd();
10 let pkg = options.pkg || {};
11 let ui = options.ui || new MockUI();
12 let instr = new Instrumentation({
13 ui,
14 initInstrumentation: {
15 token: null,
16 node: null,
17 },
18 });
19 let cli = options.cli || {
20 instrumentation: instr,
21 };
22
23 super(root, pkg, ui, cli);
24 }
25
26 require(file) {
27 if (file === './server') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected