Skip to content

Conversation

code0100fun
Copy link
Contributor

Also implements helper in Glimmer

Copy link
Contributor

Choose a reason for hiding this comment

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

These tests should go through the "The I-N-U-R cycle" mentioned in #13127.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Woops, right. Will fix that, thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like this only needs to check initial render and no-op rerender, not update and reset. Does that seem correct?

@mixonic
Copy link
Member

mixonic commented Mar 19, 2016

It seems OK to punt on, but this should likely be testing the bound behaviors as well, which do exist: https://ember-twiddle.com/0ec0748d515ec3b87414?openFiles=application.controller.js%2C It seems an oversight that there are no tests for those cases.

Followup issue: #13132

@code0100fun
Copy link
Contributor Author

@mixonic, I'll work on adding some tests for the bound params.

Also implements helper in Glimmer. Only tested initial render and no-op
rerender because the helper does not accept any bound attributes.
chancancode added a commit that referenced this pull request Mar 19, 2016
[Glimmer2] Port `{{loc}}` helper test to `ember-glimmer`
@chancancode chancancode merged commit a358c59 into emberjs:master Mar 19, 2016
@chancancode
Copy link
Member

Thanks! @code0100fun! Please send a follow up PR for @mixonic's request 😄

@code0100fun code0100fun deleted the glimmer-loc-helper branch March 20, 2016 20:52
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

Successfully merging this pull request may close these issues.

4 participants