mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
12 lines
309 B
JavaScript
12 lines
309 B
JavaScript
exports.check = function (marko, markoCompiler, expect, snapshot, done) {
|
|
var template = require("./template.marko").default;
|
|
var data = {
|
|
name: "John",
|
|
};
|
|
template.renderToString(data, function (error, html, out) {
|
|
snapshot(html);
|
|
expect(out != null).to.equal(true);
|
|
done();
|
|
});
|
|
};
|