import type {Frame} from 'sentry/types'; export function FrameFixture(props: Partial = {}): Frame { return { absPath: 'abs/path/to/file.js', colNo: null, lineNo: null, context: [], filename: 'file.js', function: 'functionName', inApp: true, instructionAddr: '0x0000000', module: 'abs.path.to:file', package: null, platform: 'javascript', rawFunction: 'functionName', symbol: 'functionName', symbolAddr: '0x0000000', trust: 'none', vars: {}, ...props, }; }