UNPKG

istesequi

Version:

Lightweight and intuitive javascript library

17 lines (14 loc) 507 B
// Testing the main file describe(".html(content)", function() { it("should be a function", function() { expect(typeof base.hasClass).to.equal('function'); }); it("can get the html content", function() { expect(base.find('#world').html()).to.equal('Hello world'); }); it("can set the html content", function() { expect(base.find('#world').html()).not.to.equal('hello'); base.find('#world').html('hello'); expect(base.find('#world').html()).to.equal('hello'); }); });