Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
QUnit.test("jsrender.renderFile / jsrender.__express", function(assert) {
var html = jsrender.renderFile('./test/templates/name-template.html', {name: "Jo"});
assert.equal(html, "Name: Jo (name-template.html)", 'jsrender.renderFile("./file.path.html", data) loads and renders template');
html = jsrender.__express('./test/templates/name-template.html', {name: "Jo"});
assert.equal(html, "Name: Jo (name-template.html)", 'jsrender.__express("./file.path.html", data) loads and renders template');
});