mirror of
https://github.com/SomboChea/ui
synced 2024-11-05 14:14:26 +07:00
21 lines
470 B
JavaScript
21 lines
470 B
JavaScript
|
|
import React from 'react';
|
|
import { mount } from 'enzyme';
|
|
|
|
import Footer from '../../../../src/webui/components/Footer/index';
|
|
|
|
jest.mock('../../../../package.json', () => ({
|
|
version: '4.0.0-alpha.3'
|
|
}))
|
|
|
|
describe('<Footer /> component', () => {
|
|
let wrapper;
|
|
beforeEach(() => {
|
|
wrapper = mount(<Footer />);
|
|
});
|
|
|
|
test('should load the initial state of Footer component', () => {
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
});
|
|
});
|