Files
2024-02-15 17:01:50 +00:00

17 lines
330 B
TypeScript

import type {ExceptionValue} from 'sentry/types';
export function ExceptionValueFixture(
props: Partial<ExceptionValue> = {}
): ExceptionValue {
return {
mechanism: null,
rawStacktrace: null,
stacktrace: null,
threadId: null,
type: 'BadError',
value: 'message',
module: null,
...props,
};
}