()
| 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 |
no test coverage detected