-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Test templates from MU co-located tests #42
Conversation
implementing the nested components version simplifying the implementation Add tests for several complex module name cases allowing this to work with windows
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.
Left some notes with what should be minor cleanup 👍 then I think this is gtg!
lib/parse-module-name.js
Outdated
if (collectionParts.length > 3) { | ||
collectionParts.splice(-2); | ||
return `${prefixString}/${collectionParts.join('/')}/template.hbs`; | ||
} |
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.
@Turbo87 left a comment asking for this to be reformatted:
https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/33/files#r188862447
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.
His comment also asks for a test in these as-of-yet-untested cases:
emberconf/src/ui/routes/foo.js
should returnnull
when parsedemberconf/src/ui/components/foo-bar.js
should returnnull
when parsed
Merging this! We can hack on it in master. |
Continuation of #33