Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

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
@mixonic mixonic requested review from mixonic, Turbo87 and rwjblue August 22, 2018 14:37
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants