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

27 lines
818 B
TypeScript

import type {Subscription} from 'sentry/views/settings/account/accountSubscriptions';
export function SubscriptionsFixture(params = []): Subscription[] {
return [
{
subscribedDate: '2018-01-08T05:14:59.102Z',
subscribed: true,
listDescription:
'Everything you need to know about Sentry features, integrations, partnerships, and launches.',
listId: 2,
unsubscribedDate: null,
listName: 'Product & Feature Updates',
email: '[email protected]',
},
{
subscribedDate: null,
subscribed: false,
listDescription: "Our monthly update on what's new with Sentry and the community.",
listId: 1,
unsubscribedDate: '2018-01-08T19:31:42.546Z',
listName: 'Sentry Newsletter',
email: '[email protected]',
},
...params,
];
}