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

Merged
mixonic merged 3 commits into
ember-cli:masterfrom
NullVoxPopuli:feature/continuation-of-test-private-components
Aug 24, 2018
Merged

mixonic merged 3 commits into
ember-cli:masterfrom
NullVoxPopuli:feature/continuation-of-test-private-components

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
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 Turbo87, mixonic and rwjblue August 22, 2018 14:37

@mixonic mixonic left a comment

Copy link
Copy Markdown
Member

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!

Comment thread lib/parse-module-name.js Outdated
if (collectionParts.length > 3) {
collectionParts.splice(-2);
return `${prefixString}/${collectionParts.join('/')}/template.hbs`;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@mixonic

mixonic commented Aug 24, 2018

Copy link
Copy Markdown
Member

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