1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-24 15:04:27 +07:00
verdaccio-ui/test/unit/components/help.spec.js
Juan Picado @jotadeveloper 9d7be476ad chore: relocate unit test (#39)
add new json snapshot serializer
2019-05-01 21:02:46 +02:00

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();
});
});