import { User } from '@app/domain/users/user.model';
import { of } from 'rxjs';

export const mockUsers: User[] = [
  {
    id: 'user_001',
    created: '2025-01-01T10:00:00Z',
    updated: '2025-01-05T14:00:00Z',
    name: 'foo',
    avatar: 'foo.png',
    email: 'foo@bar.com',
    username: 'foo',
    emailVisibility: false,
    verified: false,
  },
];

export const mockUserRepo = {
  getUserById: jest.fn().mockReturnValue(of({} as User)),
  update: jest.fn(),
};
