sourceMapsDebugIDBundles.ts 607 B

12345678910111213141516171819202122232425
  1. import type {DebugIdBundle} from 'sentry/types';
  2. export function SourceMapsDebugIDBundlesFixture(
  3. debugIdBundle: Partial<DebugIdBundle> = {}
  4. ): DebugIdBundle[] {
  5. return [
  6. {
  7. bundleId: 'b916a646-2c6b-4e45-af4c-409830a44e0e',
  8. associations: [
  9. {
  10. release: 'v2.0',
  11. dist: null,
  12. },
  13. {
  14. release: 'frontend@2e318148eac9298ec04a662ae32b4b093b027f0a',
  15. dist: ['android', 'iOS'],
  16. },
  17. ],
  18. fileCount: 39,
  19. dateModified: '2023-03-10T08:25:10Z',
  20. date: '2023-03-08T09:53:09Z',
  21. ...debugIdBundle,
  22. },
  23. ];
  24. }