You need to write expect(true).to.be.equal(true) the be is a chain (object) not a function. Or you could write:
expect(true).to.be.true;
expect(false).to.be.false;
You need to write expect(true).to.be.equal(true) the be is a chain (object) not a function. Or you could write:
expect(true).to.be.true;
expect(false).to.be.false;