chore: fix tsc issue in unit test

This commit is contained in:
Stuart Anderson
2026-09-24 10:59:59 -05:00
parent 8513debf25
commit 4b67942aa5

View File

@@ -141,7 +141,9 @@ describe("PlatformSelect promoteFilled + search", () => {
it("shows neutral rom badges only for promoted rows when partitioned", async () => {
await openPromoteFilledMenu();
const badges = document.querySelectorAll(".r-v2-platsel__rom-badge");
const badges = Array.from(
document.querySelectorAll(".r-v2-platsel__rom-badge"),
);
expect(badges.length).toBeGreaterThan(0);
for (const badge of badges) {
expect(badge.classList.contains("r-tag--neutral")).toBe(true);