What we have right now
We have a simple, flat file structure with the scripts that need testing named
helper.js depending on the type of micro-addon. A micro-component additionally has a
style.css and a
template.hbs, but those are not really tested directly, and would only be tested indirectly, via
What happens with those files right now is that, when the addon is being consumed in a parent app, there are hooks in the addon's
What we would want
index.js script which cause the files during build time, to get renamed and copied to their proper, ember addon defined locations within the
app\ folder of the parent app.
I think ideally, we would want a
tests.js file within the existing flat file structure. Depending on the type of micro-addon, this file would contain a unit test module either for a component, or a general unit test in case of a library and/or helper.