nexxtway/react-rainbow

View on GitHub
src/components/ButtonIcon/__test__/buttonIcon.focusable.spec.js

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import { mount } from 'enzyme';
import ButtonIcon from '../index';

describe('<ButtonIcon />', () => {
    it('should be focusable', () => {
        const component = mount(<ButtonIcon />);
        expect(component).toBeFocusable();
    });
});