ember-legacy-class-transform
Version:
The default blueprint for ember-cli addons.
25 lines (19 loc) • 610 B
JavaScript
/* eslint-env node */
;
module.exports = {
name: 'ember-native-dom-helpers',
treeForAddonTestSupport(tree) {
// intentionally not calling _super here
// so that can have our `import`'s be
// import { click, fillIn } from 'ember-native-dom-helpers';
const Funnel = require('broccoli-funnel');
let namespacedTree = new Funnel(tree, {
srcDir: '/',
destDir: `/${this.moduleName()}`,
annotation: `Addon#treeForTestSupport (${this.name})`,
});
return this.preprocessJs(namespacedTree, '/', this.name, {
registry: this.registry,
});
}
};