import "mocha"; import { expect } from "chai"; import { is, numbers, objects } from "../helpers"; describe('Thunk "is._boolean"', () => { it("recognizes primitive boolean values", () => { const valid = [ true, false ]; const invalid: any[] = [ ...numbers, ...objects ]; for (const value of valid) expect(is._boolean(value)).to.be.true; for (const value of invalid) expect(is._boolean(value)).to.be.false; }); });