lint: fix biome issues in new test files and helpers
CI / check (push) Failing after 34s
CI / preflight (push) Skipped
CI / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-09-21 18:19:39 +02:00
1 parent 99eb3af17b
commit 93862c2275
41 files changed
+488 -314

No files matched your search

+6 -3
View File
@@ -258,8 +258,11 @@ describe("buyBadge", () => {
});
expect(mockGiveBadge).toHaveBeenCalledWith(7, "MYBADGE");
expect(mockRevalidatePath).toHaveBeenCalledWith("/draw-badge");
console.log("DEBUG caught:", state.caughtErrors.map((e) => (e as Error).message ?? e));
});
console.log(
"DEBUG caught:",
state.caughtErrors.map((e) => (e as Error).message ?? e),
);
});
it("updates an existing badge slot instead of creating a new one", async () => {
state.badges = [{ id: 1, badgePath: "MYBADGE.gif", published: true }];
@@ -363,4 +366,4 @@ describe("buyBadge", () => {
"NEXT_REDIRECT: /draw-badge?error=fail",
);
});
});
});