test: anchor config hint label

This commit is contained in:
Shakker
2026-05-12 15:23:01 +01:00
parent f6418812ef
commit 646ef0c78f

View File

@@ -223,7 +223,11 @@ describe("config form renderer", () => {
container,
);
expect(container.textContent).toContain("Plugin Enabled");
const label = expectElement(
container.querySelector(".cfg-toggle-row__label"),
"plugin enabled label",
);
expect(label.textContent?.trim()).toBe("Plugin Enabled");
});
it("renders tags from uiHints metadata", () => {