fix(core-audit): rename unused withAudit test param to _input

This commit is contained in:
2026-05-12 21:52:06 +02:00
parent 17bf9fd0c1
commit bf3abea776

View File

@@ -12,7 +12,7 @@ function makeAuditLog(): IAuditLog {
describe("withAudit", () => {
it("returns an Audited<F>", () => {
const auditLog = makeAuditLog();
const fn = async (input: { id: string }) => ({ ok: true });
const fn = async (_input: { id: string }) => ({ ok: true });
const wrapped = withAudit(auditLog, fn);
expectTypeOf(wrapped).toMatchTypeOf<Audited<typeof fn>>();
});