Sha256: 9e3070c86df3fef5b285df0353f05c47ce1d645655f3b1af17c6b249c8d82263
Contents?: true
Size: 540 Bytes
Versions: 21
Compression:
Stored size: 540 Bytes
Contents
describe("index.html", () => { it("includes 'hello'", () => { expect(document.querySelector('body').innerHTML).to.include('hello') }) it("includes div", () => { expect(document.querySelector('body').innerHTML, "no empty div element found within body").to.include('<div></div>') }) }) describe("index.js", () => { it("exists", () => { expect(testVar).to.exist expect(testVar).to.deep.equal({}) //without .deep, {} does not equal {} expect(testFunc).to.exist expect(testFunc()).to.equal('hi') }) })
Version data entries
21 entries across 21 versions & 2 rubygems