nexxtway/react-rainbow

View on GitHub
src/components/TimePicker/__test__/timePicker.focusable.spec.js

Summary

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

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