all files / components/__tests__/ Upload.test.js

100% Statements 11/11
100% Branches 4/4
100% Functions 3/3
100% Lines 8/8
1 2 3 4 5 6 7 8 9 10 11 12 13            
import React from 'react';
import {shallow} from 'enzyme';
import Upload from '../Upload.react';
 
describe('Upload', () => {
 
    it('renders', () => {
        const component = shallow(<Upload id="test"/>);
        expect(component).to.be.ok;
    });
});