test(web): align formatter stub with lint rules
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user