sourceMapArtifact.tsx 386 B

1234567891011121314
  1. import type {Artifact} from 'sentry/types/release';
  2. export function SourceMapArtifactFixture(params: Partial<Artifact> = {}): Artifact {
  3. return {
  4. sha1: '111111111',
  5. dist: null,
  6. name: 'https://example.com/AcceptOrganizationInvite.js',
  7. dateCreated: '2020-08-24T11:16:48.862725Z',
  8. headers: {'Content-Type': ''},
  9. id: '5678',
  10. size: 8276,
  11. ...params,
  12. };
  13. }