12345678910111213141516171819202122232425 |
- import type {DebugFile} from 'sentry/types/debugFiles';
- import {DebugFileFeature, DebugFileType} from 'sentry/types/debugFiles';
- export function DebugFileFixture(params = {}): DebugFile {
- return {
- objectName: 'libS.so',
- symbolType: 'elf',
- dateCreated: '2010-04-23T02:08:51.179486Z',
- debugId: '2oihoi4h5ioh34534oi5h',
- data: {
- type: DebugFileType.LIB,
- features: [DebugFileFeature.UNWIND],
- },
- id: '12345',
- size: 12345,
- sha1: '3245klnlk342n5kln3kl45n',
- uuid: '3425bkjb234k5jb234jk5',
- cpuName: 'arm64',
- headers: {
- 'Content-Type': 'application/x-elf-binary',
- },
- codeId: '12312k3jh123',
- ...params,
- };
- }
|