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

+7 -2
View File
@@ -33,7 +33,12 @@ vi.mock("@/lib/auth", () => ({ auth: mockAuth }));
const mockRateLimit = vi.hoisted(() => vi.fn());
vi.mock("@/lib/rate-limit", () => ({ rateLimit: mockRateLimit }));
const mockLogger = vi.hoisted(() => ({ error: vi.fn(), warn: vi.fn(), info: vi.fn(), debug: vi.fn() }));
const mockLogger = vi.hoisted(() => ({
error: vi.fn(),
warn: vi.fn(),
info: vi.fn(),
debug: vi.fn(),
}));
vi.mock("@/lib/logger", () => ({ logger: mockLogger }));
vi.mock("@/lib/services/daily-rewards", () => ({
@@ -264,4 +269,4 @@ describe("claimDailyReward", () => {
"NEXT_REDIRECT: /me?daily=error",
);
});
});
});