javascript - How can you click on links with Mocha in Meteor? -



javascript - How can you click on links with Mocha in Meteor? -

i want go page page in meteor app in order test onboarding process. @ moment have this:

$('#signup').click(); template.signupwithemail.onrendered(function() { chai.assert.equal($('#cool').text(), 'cool'); })

however, unsure if best practice. when not phone call onrendered, doesn't seem check page correctly. in addition, tests not seem refresh immediately.

javascript testing meteor mocha

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -