(tree)
| 777 | * @return {BroccoliTree} |
| 778 | */ |
| 779 | processTestIndex(tree) { |
| 780 | let index = new Funnel(tree, { |
| 781 | srcDir: '/tests', |
| 782 | files: ['index.html'], |
| 783 | destDir: '/tests', |
| 784 | annotation: 'Funnel (test index)', |
| 785 | }); |
| 786 | |
| 787 | let patterns = configReplacePatterns({ |
| 788 | addons: this.project.addons, |
| 789 | autoRun: this.autoRun, |
| 790 | storeConfigInMeta: this.storeConfigInMeta, |
| 791 | }); |
| 792 | |
| 793 | let configPath = path.join(this.name, 'config', 'environments', 'test.json'); |
| 794 | |
| 795 | return new ConfigReplace(index, this.packageConfig(), { |
| 796 | configPath, |
| 797 | files: ['tests/index.html'], |
| 798 | env: 'test', |
| 799 | patterns, |
| 800 | }); |
| 801 | } |
| 802 | |
| 803 | /* |
| 804 | * Wraps application configuration into AMD module: |
no test coverage detected