+ {children}
+ {!isDisabled &&
{content}
}
+
+ ),
+}));
+
+describe("ConnectButton Component", () => {
+ const openGitSyncModalMock = jest.fn();
+
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it("should render correctly when isConnectPermitted is true", () => {
+ render(
+ Loading...
;
+ };
+});
+
+jest.mock("@appsmith/ads", () => ({
+ ...jest.requireActual("@appsmith/ads"),
+ Tooltip: ({ children, content }: Record