import { Factory } from "fishery"; import { faker } from "@faker-js/faker"; import type { WebsiteUrl } from "../../../websitalk/websiteUrls"; export const websiteUrlFactory = Factory.define(() => ({ clientId: faker.string.uuid(), name: faker.company.name(), baseUrl: faker.internet.url(), createdAt: new Date(), updatedAt: new Date(), })); export function createWebsiteUrlFixture( overrides?: Partial, ): WebsiteUrl { return websiteUrlFactory.build(overrides); }