Fix front tests (#8207)

This commit is contained in:
Charles Bochet
2024-10-30 15:50:56 +01:00
committed by GitHub
parent 50c912d57f
commit b7d5c05a74
9 changed files with 20821 additions and 21503 deletions

View File

@ -1,4 +1,4 @@
import { act, renderHook } from '@testing-library/react';
import { renderHook } from '@testing-library/react';
import { RecoilRoot, useRecoilState } from 'recoil';
import { useOpenSpreadsheetImportDialog } from '@/spreadsheet-import/hooks/useOpenSpreadsheetImportDialog';
@ -8,6 +8,7 @@ import {
ImportedRow,
SpreadsheetImportDialogOptions,
} from '@/spreadsheet-import/types';
import { act } from 'react';
const Wrapper = ({ children }: { children: React.ReactNode }) => (
<RecoilRoot>{children}</RecoilRoot>