import { defineFactory } from "@repo/core-testing/factory";
import type { User } from "../entities/models/user.js";

export const userFactory = defineFactory<User>(({ sequence }) => ({
  id: `user-${sequence}`,
  username: `user${sequence}`,
  passwordHash: `$2b$10$stablehashfortest${sequence}`.padEnd(60, "x"),
}));
