Is using this.set() actually required, or could this recommendation be changed to just directly set the prop on this using standard JS syntax? AFAICT, this.myprop = myvalue seems to work fine for both props and actions in a component integration test, but I may be missing something subtle here?
Happy to throw together a PR to clean this up if it's wanted/would be useful
The default component test blueprint (and a few others, iirc) currently recommends using
this.set
, rather than setting props directly: https://github.com/emberjs/ember.js/blob/master/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js#L10-L11Is using
this.set()
actually required, or could this recommendation be changed to just directly set the prop onthis
using standard JS syntax? AFAICT,this.myprop = myvalue
seems to work fine for both props and actions in a component integration test, but I may be missing something subtle here?Happy to throw together a PR to clean this up if it's wanted/would be useful