mirror of
https://github.com/marko-js/marko.git
synced 2026-01-18 14:55:13 +00:00
11 lines
331 B
JavaScript
11 lines
331 B
JavaScript
exports.check = function (marko, markoCompiler, expect, helpers, done) {
|
|
var template = require('./template.marko');
|
|
var data = {
|
|
name: 'John'
|
|
};
|
|
template.renderToString(data, function (error, html, out) {
|
|
helpers.compare(html);
|
|
expect(out != null).to.equal(true);
|
|
done();
|
|
});
|
|
}; |