ember-source
Version:
A JavaScript framework for creating ambitious web applications
26 lines (21 loc) • 509 B
JavaScript
const path = require('path');
module.exports = {
description: 'Generates a mixin unit test.',
fileMapTokens() {
return {
__root__() {
return 'tests';
},
__testType__() {
return path.join('unit', 'mixins');
},
};
},
locals: function (options) {
return {
projectName: options.inRepoAddon ? options.inRepoAddon : options.project.name(),
friendlyTestName: ['Unit', 'Mixin', options.entity.name].join(' | '),
};
},
};
;