'); assert.equal(makeStartTag("p", [{key:'checked'}]), '
'); }); }); describe('makeEndTag()', function () { it('should make proper html end tags', function() { var act = makeEndTag('a'); assert.equal(act, '
'); act = makeEndTag(); assert.equal(act, ''); }); }); describe('encodeHtml()', function () { it('should encode < > & " \' / characters', function() { var act = encodeHtml('hello"my