fix(core-audit): rename unused withAudit test param to _input
This commit is contained in:
@@ -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>>();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user