From eaae4c6d7aa0ba755c7413c84d862f6aeac9c572 Mon Sep 17 00:00:00 2001 From: uo264915 Date: Thu, 11 Apr 2024 11:48:11 +0200 Subject: [PATCH] Cambiod test MainPage --- webapp/src/components/MainPage.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';