lint: fix biome issues in new test files and helpers
This commit is contained in:
1 parent
99eb3af17b
commit
93862c2275
41 files changed
+488
-314
No files matched your search
@@ -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",
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user