From 04a7b4104ffb835d33c83158960bb6ee10bf846a Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 17 Oct 2026 20:17:24 +0300 Subject: [PATCH] test(web): align formatter stub with lint rules --- web/src/lib/services/user-admin.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/services/user-admin.service.spec.ts b/web/src/lib/services/user-admin.service.spec.ts index d7e284928..8ebc08cdb 100644 --- a/web/src/lib/services/user-admin.service.spec.ts +++ b/web/src/lib/services/user-admin.service.spec.ts @@ -29,7 +29,7 @@ describe('admin actions for active and deleted accounts', () => { }); it('offers restoration with a valid date and hides edits for a deleted account', () => { - const format = vi.fn((key: string, _options?: unknown) => key); + const format = vi.fn((key: string, _?: unknown) => key); const user = { id: 'other', deletedAt: '2026-10-17T12:00:00Z', status: UserStatus.Deleted } as UserAdminResponseDto; const actions = getUserAdminActions(format as MessageFormatter, user); expect((actions.Restore.$if as () => boolean)()).toBe(true);