2016-11-02 20:23:42 -06:00

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;
};