mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-07-07 14:51:46 +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);
|
|
});
|