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

100% Statements 13/13
100% Branches 4/4
100% Functions 4/4
100% Lines 10/10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                
import React from 'react';
import {shallow} from 'enzyme';
import DropdownComponent from '../Dropdown.react';
 
describe('Dropdown component', () => {
 
    it('renders', () => {
        const component = shallow(<DropdownComponent id="my-dropdown"/>);
        expect(component).to.be.ok;
    });
 
    describe('options', () => {
        it('renders passed-in options');
    });
});