mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
14 lines
376 B
TypeScript
14 lines
376 B
TypeScript
import {RepositoryFixture} from 'sentry-fixture/repository';
|
|
|
|
import {PullRequest} from 'sentry/types';
|
|
|
|
export function PullRequestFixture(params: Partial<PullRequest> = {}): PullRequest {
|
|
return {
|
|
id: '3',
|
|
repository: RepositoryFixture(),
|
|
title: 'Fix first issue',
|
|
externalUrl: 'https://example.github.com/example/repo-name/pulls/3',
|
|
...params,
|
|
};
|
|
}
|