meteor - OnscreenDiv error while using tinytest -
i following discover meteor example create tinytest errors. there problem in errors_tests.js file in block:
//render template onscreendiv(spark.render(function() { return template.meteorerrors(); }));
when run test fails message "onscreendiv not defined".
i know meteor uses blaze templating engine. question custom defined function, or old example? correct way this?
i got same problem. old example.
when run meteor 1.1.x, change block with:
ui.insert(ui.render(template.meteorerrors), document.body);
and work.
Comments
Post a Comment