debugFile.ts 679 B

12345678910111213141516171819202122232425
  1. import type {DebugFile} from 'sentry/types/debugFiles';
  2. import {DebugFileFeature, DebugFileType} from 'sentry/types/debugFiles';
  3. export function DebugFileFixture(params = {}): DebugFile {
  4. return {
  5. objectName: 'libS.so',
  6. symbolType: 'elf',
  7. dateCreated: '2010-04-23T02:08:51.179486Z',
  8. debugId: '2oihoi4h5ioh34534oi5h',
  9. data: {
  10. type: DebugFileType.LIB,
  11. features: [DebugFileFeature.UNWIND],
  12. },
  13. id: '12345',
  14. size: 12345,
  15. sha1: '3245klnlk342n5kln3kl45n',
  16. uuid: '3425bkjb234k5jb234jk5',
  17. cpuName: 'arm64',
  18. headers: {
  19. 'Content-Type': 'application/x-elf-binary',
  20. },
  21. codeId: '12312k3jh123',
  22. ...params,
  23. };
  24. }