commit.ts 656 B

1234567891011121314151617
  1. import {CommitAuthor} from 'sentry-fixture/commitAuthor';
  2. import {Repository} from 'sentry-fixture/repository';
  3. import {type Commit as TCommit} from 'sentry/types';
  4. export function Commit(params = {}): TCommit {
  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: CommitAuthor(),
  11. repository: Repository(),
  12. releases: [],
  13. ...params,
  14. };
  15. }