2018-07-21 20:49:10 +02:00
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import { mount } from 'enzyme';
|
|
|
|
|
|
|
|
import Footer from '../../../../src/webui/components/Footer/index';
|
|
|
|
|
2018-11-26 20:28:59 +01:00
|
|
|
jest.mock('../../../../package.json', () => ({
|
|
|
|
version: '4.0.0-alpha.3'
|
|
|
|
}))
|
|
|
|
|
2018-07-21 20:49:10 +02:00
|
|
|
describe('<Footer /> component', () => {
|
|
|
|
let wrapper;
|
|
|
|
beforeEach(() => {
|
|
|
|
wrapper = mount(<Footer />);
|
|
|
|
});
|
|
|
|
|
2018-12-05 19:30:08 +01:00
|
|
|
test('should load the initial state of Footer component', () => {
|
2018-07-21 20:49:10 +02:00
|
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
|
|
});
|
2018-11-24 22:12:46 +01:00
|
|
|
});
|