DiscoverMeteor/Microscope

Chapter 9.5 `Template` should be `Blaze`

rjmoggach opened this issue · 2 comments

In the errors chapter the Tinytest code should actually be:

Blaze.insert(Blaze.render(Template.meteorErrors), document.body);

instead of

Template.insert(Template.render(Template.meteorErrors), document.body);

not sure if you're updating to current release...

This worked for me as well but I also had to add api.use("templating", "client"); to the Package.onTest function in package.js as mentioned in another Github issue.

Thanks, we'll fix this.