Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should work as a function when given two arguments', () => {
let TestClass = () => <div>;
let IntlTestClass = intl(TestClass, options);
expect().to.equal(
);
});
</div>
it('should be a function', () => {
let Wrapped = intl(options)(sinon.spy());
expect(Wrapped.getWrappedComponent).to.be.a('function');
});