mirror of https://github.com/zulip/zulip.git
node tests: Remove compile-settings code from i18n.js.
This commit is contained in:
parent
dae53573cb
commit
6a1b53a195
|
@ -75,10 +75,6 @@ var _ = global._;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
fs.readdirSync(path.join(__dirname, "../../static/templates/", "settings")).forEach(function (o) {
|
|
||||||
global.render_template(o.replace(/\.handlebars/, ""));
|
|
||||||
});
|
|
||||||
|
|
||||||
var html = global.render_template('settings_tab', args);
|
var html = global.render_template('settings_tab', args);
|
||||||
var div = $(html).find("div.notification-reminder");
|
var div = $(html).find("div.notification-reminder");
|
||||||
assert.equal(div.text().trim(), 'Some French text with Zulip');
|
assert.equal(div.text().trim(), 'Some French text with Zulip');
|
||||||
|
|
Loading…
Reference in New Issue