import { isOptions } from './Options'; import { invalidOptions, validOptions } from './__test__'; describe('isOptions', (): void => { describe('given valid optopns', (): void => { describe('when called', (): void => { it('should be true', (): void => { expect(isOptions(validOptions)).toBe(true); }); }); }); describe('given invalid options', (): void => { describe('when called', (): void => { it('should be false', (): void => { expect(isOptions(invalidOptions)).toBe(false); }); }); }); });