chore: resolve sharing lint checks

Keep attribution and provider-work tests lint-clean.
This commit is contained in:
Marc-André Bombeck committed 2026-08-06 02:13:50 +02:00
1 parent d404d8275a
commit c3125078b9
2 files changed
+2 -5

No files matched your search

@@ -11,7 +11,6 @@ import {
sanitiseZodIssues,
} from "@/lib/api-response";
import { auditLog } from "@/lib/auth/audit";
import { prisma } from "@/lib/db";
import {
type MedicationImportPayload,
type MedicationImportProgress,
@@ -87,10 +87,9 @@ describe("runInsightStatusGenerate", () => {
it("skips (does not throw) an unknown metric", async () => {
await expect(
runInsightStatusGenerate(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
{
userId: "u1",
metric: "nope" as any,
metric: "nope" as never,
locale: "de",
authority: {
origin: "owner",
@@ -99,8 +98,7 @@ describe("runInsightStatusGenerate", () => {
grantId: null,
},
},
// eslint-disable-next-line @typescript-eslint/no-explicit-any
{} as any,
{} as never,
),
).resolves.toBeUndefined();
});