Generate test file contents. This method is supposed to be overwritten by test framework addons like `ember-qunit`. @public @method generateTestFile @param {String} moduleName Name of the test module (e.g. `JSHint`) @param {Object[]} tests Array of tests with `name`, `passe
()
| 623 | @return {String} The test file content |
| 624 | */ |
| 625 | generateTestFile() { |
| 626 | let message = 'Please install an Ember.js test framework addon or update your dependencies.'; |
| 627 | |
| 628 | if (this.ui) { |
| 629 | this.ui.writeDeprecateLine(message); |
| 630 | } else { |
| 631 | console.warn(message); |
| 632 | } |
| 633 | |
| 634 | return ''; |
| 635 | } |
| 636 | |
| 637 | /** |
| 638 | Returns a new project based on the first `package.json` that is found |