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

+2 -6
View File
@@ -69,11 +69,7 @@ describe("applyDj", () => {
await expect(applyDj(buildForm())).rejects.toThrow(
"/radio/apply?submitted=1",
);
expect(state.rateLimit).toHaveBeenCalledWith(
"radio-apply:5",
2,
300_000,
);
expect(state.rateLimit).toHaveBeenCalledWith("radio-apply:5", 2, 300_000);
expect(state.insert).toHaveBeenCalledOnce();
expect(state.insert.mock.calls[0][0]).toBe(RadioApplications);
expect(state.insert.mock.calls[0][1]).toMatchObject({
@@ -164,4 +160,4 @@ describe("applyDj", () => {
);
expect(state.revalidatePath).toHaveBeenCalledWith("/radio/apply");
});
});
});