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

15 lines
348 B
JavaScript
Raw Normal View History

2017-11-29 14:14:56 +01:00
/**
* Help component
*/
import React from 'react';
import { shallow } from 'enzyme';
import Help from '../../../../src/webui/components/Help/index';
2017-11-29 14:14:56 +01:00
2017-12-01 20:04:01 +01:00
describe('<Help /> component', () => {
2018-01-15 23:03:43 +01:00
it('should render the component in default state', () => {
2017-11-29 14:14:56 +01:00
const wrapper = shallow(<Help />);
expect(wrapper.html()).toMatchSnapshot();
2017-11-29 14:14:56 +01:00
});
});