Skip to content

Commit 2ea55de

Browse files
committed
fix a test, remove a log
1 parent 797229e commit 2ea55de

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

plugins/confluence-plugin/src/api/fetchConfluencePluginConfig.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export const fetchConfluencePluginConfig = async (
1111
const data = await response.json();
1212
return data.info["x-cortex-definition"]["confluence-url"];
1313
} catch (error) {
14-
console.error("Error fetching Confluence plugin config:", error);
1514
throw error;
1615
}
1716
};

plugins/confluence-plugin/src/components/PageSelector.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe("PageSelector Component", () => {
4848
await waitFor(() => {
4949
expect(screen.getByText("Page One")).toBeInTheDocument();
5050
expect(screen.getByText("Page Two")).toBeInTheDocument();
51-
expect(screen.getByText("Page ID: 3")).toBeInTheDocument();
51+
expect(screen.getByText("Confluence Page 3")).toBeInTheDocument();
5252
});
5353
});
5454

0 commit comments

Comments
 (0)