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

Method getTests

lib/broccoli/ember-app.js:970–986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

968 * @return {BroccoliTree}
969 */
970 getTests() {
971 let addonTrees = this.addonTreesFor('test-support');
972
973 if (this.hinting) {
974 addonTrees.push(this.getLintTests());
975 }
976
977 let addonTestSupportFiles = this.addonTestSupportTree();
978 let allTests = mergeTrees(addonTrees.concat(this.trees.tests, addonTestSupportFiles), {
979 overwrite: true,
980 annotation: 'TreeMerger (tests)',
981 });
982
983 return new Funnel(allTests, {
984 destDir: 'tests',
985 });
986 }
987
988 /*
989 * Merges both application and add-ons public files and returns them in a

Callers 2

toArrayMethod · 0.95
ember-app-test.jsFile · 0.80

Calls 3

addonTreesForMethod · 0.95
getLintTestsMethod · 0.95
addonTestSupportTreeMethod · 0.95

Tested by

no test coverage detected