import React from 'react';

import { render } from '../../utils/test-react-testing-library';

import Footer from './Footer';

describe('<Footer /> component', () => {
  beforeAll(() => {
    window.VERDACCIO_VERSION = 'v.1.0.0';
  });

  afterAll(() => {
    delete window.VERDACCIO_VERSION;
  });

  test('should load the initial state of Footer component', () => {
    const { container } = render(<Footer />);
    expect(container.firstChild).toMatchSnapshot();
  });
});
