diff --git a/frontend_tests/zjsunit/render.js b/frontend_tests/zjsunit/render.js index 2e43b85719..6fcd127553 100644 --- a/frontend_tests/zjsunit/render.js +++ b/frontend_tests/zjsunit/render.js @@ -40,6 +40,11 @@ exports.use_template = function (name) { Handlebars.templates = {}; } + if (_.has(Handlebars.template, name)) { + // we already compile the template + return; + } + var flag = false, counter = 0, data;