import { and } from'./and';
describe('and', () => {
it('should create a function that returns whether or not every supplied function returns true', () => {
constfnA = () => true;
constfnB = () => true;
const all = and(fnA, fnB);
expect(all()).toBe(true);
});
});