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

Angle bracket components error when resolving #77

Closed
mitchlloyd opened this issue Jul 16, 2015 · 1 comment
Closed

Angle bracket components error when resolving #77

mitchlloyd opened this issue Jul 16, 2015 · 1 comment

Comments

@mitchlloyd
Copy link

With Ember Canary from a couple days ago (2.0.0-canary+f59d716e) something like this works.

test("curly bracket component", function(assert) {
  this.render(hbs`
    {{now-playing}}
  `);
});

Something like this fails.

test("angle bracket component", function(assert) {
  this.render(hbs`
    <now-playing />
  `);
});

The ember resolver throws an error because parsedName.fullNameWithoutType is undefined. The object for parsedName in the resolver looks pretty weird.

screen shot 2015-07-15 at 10 42 02 pm

There are a lot of pieces in play here: new angle bracket syntax, new component integration tests, and ember-cli-htmlbars-inline-precompile. Hopefully I can find the right home for this bug.

@mitchlloyd
Copy link
Author

This bug is not specific to ember-test-helpers. Closing in favor of ember-cli/ember-resolver#101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant