nexxtway/react-rainbow

View on GitHub
examples/create-react-app/src/pages/Spinner/__test__/spinner.spec.js

Summary

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

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