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
import{test,moduleForComponent}from'ember-qunit';moduleForComponent('dashboard-time-controls','Dashboard Time Controls - Refresh Interval Tests',{needs: ['component:radio-button']});
i've tried all sorts of syntax variations.. but nothing seems to work.
both pieces of js source code live in
app/components/dashboard-time-controls.js
app/components/radio-button.js
app/templates/dashboard-time-controls.hbs is what is trying to use radio-button.
when I run localhost:8000/tests I get:
Error: <(subclass of Ember.Component):ember1720> Handlebars error: Could not find property 'radio-button' on object <(subclass of Ember.Component):ember1720>.
at new Error (native)
at Error.Ember.Error (http://localhost:8000/vendor/ember/ember.js:910:19)
at null.<anonymous> (http://localhost:8000/vendor/ember/ember.js:27485:9)
at Object.eval (eval at <anonymous> (http://localhost:8000/vendor/handlebars/handlebars.js:1945:25), <anonymous>:54:259)
at http://localhost:8000/vendor/handlebars/handlebars.js:436:33
at Ember.View.Ember.CoreView.extend.render (http://localhost:8000/vendor/ember/ember.js:23553:16)
at Ember.CoreView.Ember.Object.extend._renderToBuffer (http://localhost:8000/vendor/ember/ember.js:22491:10)
at superFunction [as _super] (http://localhost:8000/vendor/ember/ember.js:7723:16)
at Ember.View.Ember.CoreView.extend._renderToBuffer (http://localhost:8000/vendor/ember/ember.js:24161:23)
at superWrapper [as _renderToBuffer] (http://localhost:8000/vendor/ember/ember.js:1292:16)
The text was updated successfully, but these errors were encountered:
Sorry for letting this linger so long, this issue is quite out of date and likely the underlying problem has been fixed. Initial implementation of the new ember-qunit API (from emberjs/rfcs#232) has landed and will be included in 3.0.0 release soon.
Closing as I do not believe that this issue can be addressed in the current ember-qunit@2 API.
i've tried all sorts of syntax variations.. but nothing seems to work.
both pieces of js source code live in
app/components/dashboard-time-controls.js
app/components/radio-button.js
app/templates/dashboard-time-controls.hbs is what is trying to use radio-button.
when I run localhost:8000/tests I get:
The text was updated successfully, but these errors were encountered: