mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
chore: resolve sharing lint checks
Keep attribution and provider-work tests lint-clean.
This commit is contained in:
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();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user