diff --git a/saraia/jest.config.ts b/saraia/jest.config.ts index fff2540..57be3e9 100644 --- a/saraia/jest.config.ts +++ b/saraia/jest.config.ts @@ -4,7 +4,6 @@ */ import type { Config } from 'jest' import nextJest from 'next/jest.js' -import '@testing-library/jest-dom/extend-expect'; const createJestConfig = nextJest({ // Provide the path to your Next.js app to load next.config.js and .env files in your test environment diff --git a/saraia/pruebas_A00833419/a00833419.test.tsx b/saraia/pruebas_A00833419/a00833419.test.tsx index 7cb2be2..37257e7 100644 --- a/saraia/pruebas_A00833419/a00833419.test.tsx +++ b/saraia/pruebas_A00833419/a00833419.test.tsx @@ -1,5 +1,6 @@ import { render, fireEvent, waitFor, screen } from '@testing-library/react'; import { act } from 'react-dom/test-utils'; +import '@testing-library/jest-dom/extend-expect'; import AddNewMember from '../components/AddNewMember'; // Mock fetch globally