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
@@ -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",
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user