import type {Artifact} from 'sentry/types/release';

export function SourceMapArtifactFixture(params: Partial<Artifact> = {}): Artifact {
  return {
    sha1: '111111111',
    dist: null,
    name: 'https://example.com/AcceptOrganizationInvite.js',
    dateCreated: '2020-08-24T11:16:48.862725Z',
    headers: {'Content-Type': ''},
    id: '5678',
    size: 8276,
    ...params,
  };
}