UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

24 lines (20 loc) 492 B
import path from 'node:path'; export default { 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(' | '), }; }, };