text: /* global it, describe */
  import React from 'react';
  import chai from 'chai';
  import chaiEnzyme from 'chai-enzyme';
  import {shallow} from 'enzyme';
  
  import UuidWidget from './UuidWidget';
  import BaseInput from './BaseInput';
  
  chai.use(chaiEnzyme());
  chai.should();
  
  describe('< UuidWidget />', function () {
    it('should exist', () => {
      const wrapper = shallow(
        <UuidWidget id={'0'} />
      );
  
      wrapper.should.not.equal(undefined);
    });
  
    it('should contain 1 BaseInput', () => {
      const wrapper = shallow(
        <UuidWidget id={'0'} />
      );
  
      wrapper.find(BaseInput).should.have.length(1);
    });
  });
  