import "mocha"; import { expect } from "chai"; import { is, nonNullObjects } from '../helpers'; describe('Thunk "is._objectNonNull"', () => { it('recognizes values of type "object", except "null"', () => { for (const value of nonNullObjects) expect(is._objectNonNull(value)).to.be.true; expect(is._objectNonNull(null)).to.be.false; }); });