mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
25 lines
628 B
TypeScript
25 lines
628 B
TypeScript
import {type DebugFile, DebugFileFeature, DebugFileType} from 'sentry/types';
|
|
|
|
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,
|
|
};
|
|
}
|