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
Not sure if the title of the issue is correct, but it seems that calling this.subject is not instantiating a new object.
// component definitionexportdefaultEmber.Component.extend({attr: null,init: function(){this._super();console.log(this);}});// testsmoduleForComponent('some-comp',{// specify the other units that are required for this test// needs: ['component:foo', 'helper:bar']beforeEach: function(){varcomponentA=this.subject({attr: 'foo'});varcomponentB=this.subject({attr: 'bar'});}});
Not sure if the title of the issue is correct, but it seems that calling
this.subject
is not instantiating a new object.Expected in the console:
Instead got:
Note: also happens in a regular
test
so its not abeforeEach
issuePlease let me know if I am just doing something wrong
The text was updated successfully, but these errors were encountered: