mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
13 lines
347 B
JavaScript
13 lines
347 B
JavaScript
var expect = require("chai").expect;
|
|
|
|
module.exports = function (helpers, done) {
|
|
var template = require("./template.marko").default;
|
|
|
|
template.render({}, function (err, html) {
|
|
expect(html.toString()).to.include(
|
|
"console.log('hello');console.log('world');console.log('again');console.log('and again')",
|
|
);
|
|
done();
|
|
});
|
|
};
|