diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
index 2f600397a4b..1ec1f72f4a1 100644
--- a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
+++ b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
@@ -15,7 +15,7 @@ const buildSkill = (source: Plugin["source"]): Plugin => ({
describe("SkillDetail source", () => {
it("links a github source to the repository", () => {
render();
- expect(screen.getByRole("link", { name: /github.com\/org\/repo/ })).toHaveAttribute(
+ expect(screen.getByRole("link", { name: "github.com/org/repo" })).toHaveAttribute(
"href",
"https://github.com/org/repo",
);
@@ -26,7 +26,7 @@ describe("SkillDetail source", () => {
,
);
expect(screen.getByText("git@ghe.example.com:org/repo.git")).toBeInTheDocument();
- expect(screen.queryByRole("link", { name: /ghe.example.com/ })).not.toBeInTheDocument();
+ expect(screen.queryByRole("link")).not.toBeInTheDocument();
});
it("renders an ssh git-subdir source as plain text without a tree path", () => {
@@ -37,6 +37,6 @@ describe("SkillDetail source", () => {
/>,
);
expect(screen.getByText("git@ghe.example.com:org/repo.git @ plugins/x")).toBeInTheDocument();
- expect(screen.queryByRole("link", { name: /ghe.example.com/ })).not.toBeInTheDocument();
+ expect(screen.queryByRole("link")).not.toBeInTheDocument();
});
});