-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
You can reproduce the problem using this repo: https://github.com/thiagofesta/test-coverage
$ COVERAGE=true ember test
It gives me this error:
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels