try import react inside class

This commit is contained in:
JubaAzul 2025-01-13 20:03:12 -05:00
parent b46e2e3985
commit 89dd55ca8f
4 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import { MultipleChoice } from '../../../../components/GiftTemplate/templates'; import { MultipleChoice } from '../../../../components/GiftTemplate/templates';

View file

@ -1,3 +1,4 @@
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import Numerical from '../../../../components/GiftTemplate/templates/Numerical'; import Numerical from '../../../../components/GiftTemplate/templates/Numerical';

View file

@ -1,3 +1,4 @@
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer'; import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer';

View file

@ -1,3 +1,4 @@
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import TrueFalse from '../../../../components/GiftTemplate/templates'; import TrueFalse from '../../../../components/GiftTemplate/templates';