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 was having problems with testing ember components until I didn't renamed the testing ember app div element's id to ember-testing and set App.rootElement = '#ember-testing' as well.
I looked through the source code and found that moduleForComponent have hardcoded #ember-testing` in it's setup and the container view. I wouldn't change the way it's done right now, but I would at least add some info about it into the readme, so that next me, won't having issues with that.
I know same setup is also used in new ember testing guides and this setup info isn't provided as well. Would it be all right if I just add one step into examples section and describe that you need those two things to be set up as such?
The text was updated successfully, but these errors were encountered:
zigomir
changed the title
Problems if you don't have <div id="ember-testing"></div>
Problems if you don't have <div id="ember-testing"></div>
Apr 17, 2014
zigomir
changed the title
Problems if you don't have <div id="ember-testing"></div>
Problems with moduleForComponent and testing div ID
Apr 20, 2014
I was having problems with testing ember components until I didn't renamed the testing ember app div element's id to
ember-testing
and setApp.rootElement = '#ember-testing'
as well.I looked through the source code and found that
#ember-testing` in it's setup and the container view. I wouldn't change the way it's done right now, but I would at least add some info about it into the readme, so that next me, won't having issues with that.
moduleForComponent
have hardcodedI know same setup is also used in new ember testing guides and this setup info isn't provided as well. Would it be all right if I just add one step into
examples
section and describe that you need those two things to be set up as such?The text was updated successfully, but these errors were encountered: