1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/webui/components/help.spec.js
Ayush Sharma 4d1349a328 refactor: <Help /> component (#1118)
* refactor: removes react-syntax-highlighter deps

* refactor: updates help component

* refactor: test cases for <Help/> component

* refactor: e2e test cases for <Help/> component

* refactor: implements code review <Help /> component
2018-11-16 22:29:56 +01:00

15 lines
348 B
JavaScript

/**
* Help component
*/
import React from 'react';
import { shallow } from 'enzyme';
import Help from '../../../../src/webui/components/Help/index';
describe('<Help /> component', () => {
it('should render the component in default state', () => {
const wrapper = shallow(<Help />);
expect(wrapper.html()).toMatchSnapshot();
});
});