nexxtway/react-rainbow

View on GitHub
src/components/Input/inputBase/__test__/input.focusable.spec.js

Summary

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

describe('<InputBase/>', () => {
    it('should be focusable', () => {
        const component = mount(<InputBase label="Input Label" />);
        expect(component).toBeFocusable();
    });
});