import "mocha"; import { expect } from "chai"; import { is, objects, nonVoidPrims, funcs } from '../helpers'; describe('Thunk "is._object"', () => { it('recognizes values of type "object"', () => { for (const value of objects) expect(is._object(value)).to.be.true; for (const value of [ ...nonVoidPrims, ...funcs ]) expect(is._object(value)).to.be.false; }); });