import {Repository, RepositoryStatus} from 'sentry/types'; export function RepositoryFixture(params: Partial = {}): Repository { return { id: '4', name: 'example/repo-name', provider: {id: '1', name: 'github'}, url: 'https://github.com/example/repo-name', status: RepositoryStatus.ACTIVE, externalSlug: 'example/repo-name', externalId: '1', dateCreated: '', integrationId: '', ...params, }; }