dimanche 15 mai 2016

jquery commands not working in tests using hbs rendering in ember.js

I've been working on writing my own component tests in Ember.js 2.5. I'm currently trying to test a property change on button press. The tests can run just fine and throw no errors, but the jquery commands within the test don't seem to work. e.g this.$('button').click();

I've followed the guide here, http://ift.tt/1Titqon, and even followed along doing exactly what they did same component names and everything, but still nothing jquery works or throws an error.




Aucun commentaire:

Enregistrer un commentaire