diff --git a/webapp/src/components/MainPage.test.js b/webapp/src/components/MainPage.test.js index 48ed4ba8..77ee7571 100644 --- a/webapp/src/components/MainPage.test.js +++ b/webapp/src/components/MainPage.test.js @@ -1,5 +1,5 @@ import React from 'react'; -import { render, fireEvent, screen } from '@testing-library/react'; +import { render, fireEvent, screen, act } from '@testing-library/react'; import axios from 'axios'; import MockAdapter from 'axios-mock-adapter'; import MainPage from './MainPage';