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

Method packageTests

lib/broccoli/default-packager.js:740–750  ·  view source on GitHub ↗
(tree)

Source from the content-addressed store, hash-verified

738 * @return {BroccoliTree}
739 */
740 packageTests(tree) {
741 let coreTestTree = this.processTests(tree);
742
743 let testIndex = this.processTestIndex(tree);
744 let appTestTree = this.packageApplicationTests(coreTestTree);
745 let testFilesTree = this.packageTestFiles(tree, coreTestTree);
746
747 return mergeTrees([testIndex, appTestTree, testFilesTree], {
748 annotation: 'Packaged Tests',
749 });
750 }
751
752 /*
753 * Replaces variables in `tests/index.html` file with values from

Callers 2

_legacyPackageMethod · 0.80
tests-test.jsFile · 0.80

Calls 4

processTestsMethod · 0.95
processTestIndexMethod · 0.95
packageTestFilesMethod · 0.95

Tested by

no test coverage detected