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

Test templates from MU co-located tests #42

Conversation

NullVoxPopuli
Copy link
Contributor

Continuation of #33

  • resolved conflict

mansona and others added 2 commits August 21, 2018 18:23
implementing the nested components version

simplifying the implementation

Add tests for several complex module name cases

allowing this to work with windows
@Turbo87 Turbo87 changed the title Continuation of https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/33 test templates from MU co-located tests Aug 22, 2018
@Turbo87 Turbo87 changed the title test templates from MU co-located tests Test templates from MU co-located tests Aug 22, 2018
Copy link
Member

@mixonic mixonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some notes with what should be minor cleanup 👍 then I think this is gtg!

if (collectionParts.length > 3) {
collectionParts.splice(-2);
return `${prefixString}/${collectionParts.join('/')}/template.hbs`;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

His comment also asks for a test in these as-of-yet-untested cases:

  • emberconf/src/ui/routes/foo.js should return null when parsed
  • emberconf/src/ui/components/foo-bar.js should return null when parsed

@NullVoxPopuli
Copy link
Contributor Author

@mixonic @Turbo87 -- feedback has been addressed :)

@mixonic
Copy link
Member

mixonic commented Aug 24, 2018

Merging this! We can hack on it in master.

@mixonic mixonic merged commit ebe434a into ember-cli:master Aug 24, 2018
@NullVoxPopuli NullVoxPopuli deleted the feature/continuation-of-test-private-components branch August 24, 2018 16:57
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.

None yet

4 participants