You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.parent.name is not a function
TypeError: this.parent.name is not a function
at Class.module.exports._parentName (/Users/tfesta/Code/test-coverage/node_modules/ember-cli-code-coverage/index.js:244:26)
at Class.module.exports._getExcludes (/Users/tfesta/Code/test-coverage/node_modules/ember-cli-code-coverage/index.js:216:21)
at Class.module.exports.preprocessTree (/Users/tfesta/Code/test-coverage/node_modules/ember-cli-code-coverage/index.js:48:21)
at /Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/utilities/addon-process-tree.js:6:25
at Array.reduce (native)
at addonProcessTree (/Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/utilities/addon-process-tree.js:4:32)
at Class._addonPreprocessTree (/Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/models/addon.js:378:12)
at Class.processedAddonJsFiles (/Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/models/addon.js:1133:36)
at Class.compileAddon (/Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/models/addon.js:1048:24)
at Class.treeForAddon (/Users/tfesta/Code/test-coverage/node_modules/ember-cli/lib/models/addon.js:707:26)
I also had another problem earlier, where it complained about isEmberCLIAddon method not defined. What i did, was to create that method on the in repo addon and return false. But by default it is not generated by ember cli, maybe you could assume if it is undefined, use it as false.
Thanks
Reacted by Garrick Cheung, Joe Heth and Samuel Garneau
#141 should make this a bit easier to do, but is still somewhat WIP. I believe that the changes @GCheung55 submitted in #107 will come in handy in that branch...
Activity
rwjblue commentedon Jun 14, 2017
Thank you reporting! I'll try to dig into the demo soon and see how hard it will be to fix...
thiagofesta commentedon Jun 23, 2017
@rwjblue any update on this one?
GCheung55 commentedon Aug 8, 2017
PR #107 tried to address this but there are test errors.
rwjblue commentedon Oct 2, 2017
#141 should make this a bit easier to do, but is still somewhat WIP. I believe that the changes @GCheung55 submitted in #107 will come in handy in that branch...
Add support for in-repo-addons ember-cli-code-coverage#120
RobbieTheWagner commentedon Feb 2, 2018
I believe this works as of the latest beta. Can you guys try it out?

RobbieTheWagner commentedon Feb 9, 2018
Closing this, as it should be fixed in the latest beta. If not, feel free to reopen!
template instrumentation (merged master) (#200)
template instrumentation (merged master) (ember-cli-code-coverage#200)