-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Glimmer2] Port {{textarea}} test to ember-glimmer. #13215
Conversation
|
||
moduleFor('Helpers test: {{textarea}}', class extends RenderingTest { | ||
|
||
['@htmlbars Should insert a textarea']() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from #45
7a9e659
to
2d78610
Compare
|
||
moduleFor('Helpers test: {{textarea}}', class extends TextAreaRenderingTest { | ||
|
||
['@htmlbars Should insert a textarea']() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaces #45
@chancancode this is ready for your eyes mate. |
super(); | ||
|
||
this.registerComponent('-text-area', { ComponentClass: TextArea }); | ||
this.render('{{textarea disabled=disabled value=val}}', { val: 'Lorem ipsum dolor' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is so easy to do now, I think we prefer to inline this into the tests now. (See below)
Left some minor comments, otherwise looks great to me! Thanks for picking this up! |
2d78610
to
592b614
Compare
@chancancode This is ready mate! |
Thanks @kiwiupover! |
No description provided.