-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to treeForAddonTestSupport #89
Conversation
treeForAddonTestSupport(tree) { | ||
// intentionally not calling _super here | ||
// so that can have our `import`'s be | ||
// import testSelector from 'ember-test-selectors'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand. What tree would _super
return?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can have a look. I just did the implementation based on example in #87.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_super would return same tree but with namespace including the sub folder -
destDir: /${this.moduleName()}/test-support
_super also returns already preprocessed js files.
700fc4d
to
06d3eab
Compare
Closes: #87