UNPKG

375 BJavaScriptView Raw
1import React from 'react';
2import {shallow, mount, render} from 'enzyme';
3import {expect} from 'chai';
4import Clipboard from '../src/index';
5
6describe('Enzyme Shallow', function () {
7 it('Clipboard should be exist', function () {
8 let button = shallow(<Clipboard className="u-clipboard"/>);
9 expect(button.hasClass('u-clipboard')).to.equal(true);
10 });
11});
\No newline at end of file