commit.ts 679 B

1234567891011121314151617
  1. import {CommitAuthorFixture} from 'sentry-fixture/commitAuthor';
  2. import {RepositoryFixture} from 'sentry-fixture/repository';
  3. import {type Commit} from 'sentry/types';
  4. export function CommitFixture(params = {}): Commit {
  5. return {
  6. dateCreated: '2018-11-30T18:46:31Z',
  7. message:
  8. '(improve) Add Links to Spike-Protection Email (#2408)\n\n* (improve) Add Links to Spike-Protection Email\r\n\r\nUsers now have access to useful links from the blogs and docs on Spike-protection.\r\n\r\n* fixed wording',
  9. id: 'f7f395d14b2fe29a4e253bf1d3094d61e6ad4434',
  10. author: CommitAuthorFixture(),
  11. repository: RepositoryFixture(),
  12. releases: [],
  13. ...params,
  14. };
  15. }