node tests: Remove compile-settings code from templates.js.

This commit is contained in:
Steve Howell
2016-11-04 11:59:43 -07:00
committed by Tim Abbott
parent 6a1b53a195
commit e17cb79701

View File

@@ -35,10 +35,6 @@ function render(template_name, args) {
return global.render_template(template_name, args);
}
fs.readdirSync(path.join(__dirname, "../../static/templates/", "settings")).forEach(function (o) {
render(o.replace(/\.handlebars/, ""));
});
(function test_finding_partials () {
var fns = global.find_included_partials('settings_tab');
assert.deepEqual(fns, [