forked from sombochea/verdaccio-ui
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();
|
|
});
|
|
});
|