/* global describe, it, expect */
import React from 'react';
import { shallow } from 'enzyme';
import Option from '../option';

describe('<Option />', () => {
  it('should has hover state', () => {
    const option = shallow(<Option />);

    expect(option.state('hover')).toBe(false);
  });

  it('should className be dropdown-option', () => {
    const wrapper = shallow(<Option />);
    expect(wrapper.hasClass('dropdown-option')).toBe(true);
  });
});

@@ -231,17 +231,16 @@
 on /%3E);%0A
-%0A
     expe
@@ -443,13 +443,163 @@
 );%0A  %7D);
+%0A%0A  it('should has value', () =%3E %7B%0A    const wrapper = shallow(%3COption value=%22my value%22 /%3E);%0A    expect(wrapper.prop('value')).toBe('my value');%0A  %7D);
 %0A%7D);%0A

add test for custom value