content: /* eslint-env mocha */
  import React from 'react';
  import {shallow} from 'enzyme';
  import {expect} from 'chai';
  import TextFieldLabel from './TextFieldLabel';
  import getMuiTheme from '../styles/getMuiTheme';
  
  describe('<TextFieldLabel>', () => {
    it('uses focus styles', () => {
      const wrapper = shallow(
        <TextFieldLabel
          muiTheme={getMuiTheme()}
          shrink={false}
          style={{color: 'regularcolor'}}
          shrinkStyle={{color: 'focuscolor'}}
        />
      );
  
      expect(wrapper.type()).to.equal('label');
      expect(wrapper.prop('style').color).to.equal('regularcolor');
  
      wrapper.setProps({shrink: true});
      expect(wrapper.prop('style').color).to.equal('focuscolor');
    });
  });
  