Skip to content
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

Merged
merged 3 commits into from
Apr 7, 2017

Conversation

raido
Copy link
Contributor

@raido raido commented Mar 31, 2017

Closes: #87

treeForAddonTestSupport(tree) {
// intentionally not calling _super here
// so that can have our `import`'s be
// import testSelector from 'ember-test-selectors';
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@Turbo87 Turbo87 force-pushed the treeForAddonTestSupport branch from 700fc4d to 06d3eab Compare April 7, 2017 11:51
@Turbo87 Turbo87 merged commit 0723629 into mainmatter:master Apr 7, 2017
Turbo87 added a commit that referenced this pull request Apr 7, 2017
Turbo87 added a commit that referenced this pull request Apr 7, 2017
Turbo87 added a commit that referenced this pull request Apr 7, 2017
@raido raido deleted the treeForAddonTestSupport branch April 9, 2017 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants