diff --git a/src/app/components/core/Header/Header.test.js b/src/app/components/core/Header/Header.test.js
index e442247f..6cba6601 100644
--- a/src/app/components/core/Header/Header.test.js
+++ b/src/app/components/core/Header/Header.test.js
@@ -1,13 +1,24 @@
// @flow strict
import React from 'react';
+import { act } from 'react-dom/test-utils';
+import { BrowserRouter as Router } from 'react-router-dom';
// $FlowFixMe
import { render } from '@testing-library/react';
import Header from './Header';
describe('Header', () => {
- it('tests something', () => {
- const { container } = render();
+ it('tests header\'s basics', async () => {
+ let testRenderer = {};
+
+ await act(async () => {
+ testRenderer = render(
+
+
+ ,
+ );
+ });
+ const { container } = testRenderer;
const header = container.firstChild;
expect(header.className).toEqual('header');
});