1 | import React from 'react';
|
2 | import {shallow, mount, render} from 'enzyme';
|
3 | import {expect} from 'chai';
|
4 | import ControlLabel from '../src/index';
|
5 |
|
6 | describe('Enzyme Shallow', function() {
|
7 | it('ControlLable should be exist', function() {
|
8 | let controlLabel = shallow(<ControlLabel/>);
|
9 | expect(controlLabel.hasClass('u-control-label')).to.equal(true);
|
10 | })
|
11 | })
|