UNPKG

355 BJavaScriptView Raw
1import React from 'react';
2import {shallow, mount, render} from 'enzyme';
3import {expect} from 'chai';
4import ControlLabel from '../src/index';
5
6describe('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})