mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 15:04:27 +07:00
9d7be476ad
add new json snapshot serializer
15 lines
347 B
JavaScript
15 lines
347 B
JavaScript
/**
|
|
* Help component
|
|
*/
|
|
import React from 'react';
|
|
import { shallow } from 'enzyme';
|
|
import Help from '../../../src/webui/components/Help/index';
|
|
|
|
describe('<Help /> component', () => {
|
|
|
|
test('should render the component in default state', () => {
|
|
const wrapper = shallow(<Help />);
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
});
|
|
});
|