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

Function createAddon

tests/unit/models/addon-test.js:787–791  ·  view source on GitHub ↗
(Addon)

Source from the content-addressed store, hash-verified

785 const packageContents = require(path.join(projectPath, 'package.json'));
786
787 function createAddon(Addon) {
788 let cli = new MockCLI();
789 let project = new Project(projectPath, packageContents, cli.ui, cli);
790 return new Addon(project, project);
791 }
792
793 describe('cacheKeyForTree', function () {
794 it('returns null if `treeForApp` methods are implemented for the app tree', function () {

Callers 1

addon-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…