ember-test-waiters
Version:
The default blueprint for ember-cli addons.
24 lines (17 loc) • 554 B
JavaScript
;
const forceHighlander = require('./force-highlander-addon').forceHighlander;
module.exports = {
name: require('./package').name,
included() {
this._super.included.apply(this, arguments);
forceHighlander(this.project);
},
treeForAddon(tree) {
/*
We're intentionally not calling super here in order to correctly output
multiple modules (@ember/test-helpers and ember-test-helpers).
*/
let babel = this.addons.find(a => a.name === 'ember-cli-babel');
return babel.transpileTree(tree);
},
};