nexxtway/react-rainbow

View on GitHub
examples/create-react-app/src/pages/Input/__test__/input.spec.js

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import { shallow } from 'enzyme';
import Input from 'react-rainbow-components/components/Input';
import InputExample from './../';

describe('<InputExample/>', () => {
    it('should render the Input', () => {
        const component = shallow(<InputExample />);
        expect(component.find(Input).exists()).toBe(true);
    });
});