mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-10-05 20:26:39 +00:00
10 lines
263 B
JavaScript
10 lines
263 B
JavaScript
|
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);
|
||
|
});
|