mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
10 lines
383 B
JavaScript
10 lines
383 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
module.exports = function(helpers) {
|
|
var comment = helpers.vdom.createComment('This is a comment');
|
|
var commentClone = comment.cloneNode();
|
|
expect(commentClone).to.not.equal(comment);
|
|
expect(comment.nodeValue).to.equal('This is a comment');
|
|
expect(commentClone.nodeValue).to.equal('This is a comment');
|
|
return comment;
|
|
}; |