Fix mongo unit tests

This commit is contained in:
Laurent Nguyen
2024-05-15 16:20:28 +02:00
parent 1b63553058
commit c187798d1f

View File

@@ -60,6 +60,7 @@ jest.mock("Explorer/Controls/Dialog", () => ({
useDialog: { useDialog: {
getState: jest.fn(() => ({ getState: jest.fn(() => ({
showOkCancelModalDialog: (title: string, subText: string, okLabel: string, onOk: () => void) => onOk(), showOkCancelModalDialog: (title: string, subText: string, okLabel: string, onOk: () => void) => onOk(),
showOkModalDialog: () => { },
})), })),
}, },
})); }));