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

Method constructor

tests/helpers/mock-cli.js:9–17  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

7
8class MockCLI {
9 constructor(options) {
10 options = options || {};
11
12 this.ui = options.ui || new MockUI();
13 this.root = path.join(__dirname, '..', '..');
14 this.npmPackage = options.npmPackage || 'ember-cli';
15 this.instrumentation = options.instrumentation || new Instrumentation({});
16 this.packageInfoCache = new PackageInfoCache(this.ui);
17 }
18}
19
20module.exports = MockCLI;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected