adding tests

This commit is contained in:
Benjamin Boudreau
2018-05-29 21:56:01 -04:00
parent 9e9127738e
commit 234431c143
9 changed files with 2346 additions and 14 deletions

9
src/widget.test.js Normal file
View File

@@ -0,0 +1,9 @@
import React from 'react';
import { shallow } from 'enzyme';
import Widget from './widget';
test('simple test', () => {
const widgetDom = shallow(<Widget />);
console.log(widgetDom.html());
expect(widgetDom.find('.docked-widget').exists()).toBe(true);
});