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
Post a Comment