Files
sentinel/fixtures/js-stubs/broadcast.tsx
2024-02-15 17:01:50 +00:00

18 lines
602 B
TypeScript

import type {Broadcast} from 'sentry/types';
export function BroadcastFixture(params: Partial<Broadcast> = {}): Broadcast {
return {
dateCreated: new Date().toISOString(),
dateExpires: new Date().toISOString(),
hasSeen: false,
id: '8',
isActive: true,
cta: 'cta_text',
link: 'https://docs.sentry.io/clients/javascript/sourcemaps/#uploading-source-maps-to-sentry',
message:
'Source maps are JSON files that contain information on how to map your transpiled source code back to their original source.',
title: 'Learn about Source Maps',
...params,
};
}