Skip to content

Commit

Permalink
Fix test case to call the correct command handler in ActionsHubTreeDa…
Browse files Browse the repository at this point in the history
…taProvider
  • Loading branch information
amitjoshi committed Feb 20, 2025
1 parent c616a60 commit 117bd1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe("ActionsHubTreeDataProvider", () => {

expect(registerCommandStub.calledWith("microsoft.powerplatform.pages.actionsHub.activeSite.uploadSite")).to.be.true;

await registerCommandStub.getCall(10).args[1]();
await registerCommandStub.getCall(11).args[1]();
expect(mockCommandHandler.calledOnce).to.be.true;
});
});
Expand Down

0 comments on commit 117bd1b

Please sign in to comment.