You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component that yields block-params. That is, its template has {{yield something}} and it is used like
{{#my-componentas |x|}}
Use {{x}} somehow.
{{/my-component}}
I can't use test-module-for-component (or ember-qunit's moduleForComponent) because I need the as |x| in the invocation of my-component.
The only solution I've come up with is writing an integration test that compiles a template and renders an Ember.View. (And I actually haven't gotten that working yet, but suspect I could.)
The text was updated successfully, but these errors were encountered:
We are working on (and nearly finished with) new test helpers exactly for this purpose. There are a couple remaining problem (like inline template precompilation without introducing production test issues with the template compiler present in tests and naming).
I have a component that yields block-params. That is, its template has
{{yield something}}
and it is used likeI can't use
test-module-for-component
(or ember-qunit'smoduleForComponent
) because I need theas |x|
in the invocation ofmy-component
.The only solution I've come up with is writing an integration test that compiles a template and renders an
Ember.View
. (And I actually haven't gotten that working yet, but suspect I could.)The text was updated successfully, but these errors were encountered: