nexxtway/react-rainbow

View on GitHub
examples/create-react-app/src/pages/Card/__test__/card.spec.js

Summary

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

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