mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-25 20:54:18 +00:00
Disable bulkdelete for users point to old mongo proxy (#1964)
* Disable bulk delete if old mongo proxy * Bug fix * Fix unit tests * Fix formatting
This commit is contained in:
@@ -50,6 +50,7 @@ jest.mock("Common/MongoProxyClient", () => ({
|
||||
}),
|
||||
),
|
||||
deleteDocuments: jest.fn(() => Promise.resolve()),
|
||||
useMongoProxyEndpoint: jest.fn(() => true),
|
||||
}));
|
||||
|
||||
jest.mock("Explorer/Controls/Editor/EditorReact", () => ({
|
||||
|
||||
Reference in New Issue
Block a user