mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-05-14 09:17:29 +01:00
Fixing error caused by merging from master
This commit is contained in:
@@ -117,7 +117,7 @@ describe("PartitionKeyComponent", () => {
|
||||
});
|
||||
|
||||
it("shows cancel button for offline job in progress", () => {
|
||||
(useDataTransferJobs as jest.Mock).mockReturnValue({
|
||||
(useDataTransferJobs as unknown as jest.Mock).mockReturnValue({
|
||||
dataTransferJobs: [mockOfflineJob],
|
||||
});
|
||||
|
||||
@@ -128,7 +128,7 @@ describe("PartitionKeyComponent", () => {
|
||||
});
|
||||
|
||||
it("shows ellipsis action menu for online job in progress", async () => {
|
||||
(useDataTransferJobs as jest.Mock).mockReturnValue({
|
||||
(useDataTransferJobs as unknown as jest.Mock).mockReturnValue({
|
||||
dataTransferJobs: [mockOnlineJob],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user