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