Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions tests/fixtures/js-stubs/userIdentity.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
export const UserIdentity = () => ({
id: '52',
identityProvider: {
id: '4',
type: 'slack',
externalId: 'TA99AB9CD',
},
externalId: 'UA1J9RTE1',
status: 1,
});
export function UserIdentity() {
return {
id: '52',
identityProvider: {
id: '4',
type: 'slack',
externalId: 'TA99AB9CD',
},
externalId: 'UA1J9RTE1',
status: 1,
};
}
60 changes: 31 additions & 29 deletions tests/fixtures/js-stubs/vercelIntegration.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
export const VercelProvider = () => ({
setupDialog: {
url: '/organizations/sentry/integrations/vercel/setup/',
width: 600,
height: 600,
},
canAdd: true,
canDisable: false,
name: 'Vercel',
key: 'vercel',
features: ['deployment'],
slug: 'vercel',
metadata: {
description: 'VERCEL DESC',
features: [
{
featureGate: 'integrations-deployment',
description: 'DEPLOYMENT DESCRIPTION',
},
],
author: 'The Sentry Team',
noun: 'Installation',
issue_url:
'https://github.com/getsentry/sentry/issues/new?template=bug.yml&title=Vercel%20Integration:%20&labels=Component%3A%20Integrations',
source_url:
'https://github.com/getsentry/sentry/tree/master/src/sentry/integrations/vercel',
aspects: {},
},
});
export function VercelProvider() {
return {
setupDialog: {
url: '/organizations/sentry/integrations/vercel/setup/',
width: 600,
height: 600,
},
canAdd: true,
canDisable: false,
name: 'Vercel',
key: 'vercel',
features: ['deployment'],
slug: 'vercel',
metadata: {
description: 'VERCEL DESC',
features: [
{
featureGate: 'integrations-deployment',
description: 'DEPLOYMENT DESCRIPTION',
},
],
author: 'The Sentry Team',
noun: 'Installation',
issue_url:
'https://github.com/getsentry/sentry/issues/new?template=bug.yml&title=Vercel%20Integration:%20&labels=Component%3A%20Integrations',
source_url:
'https://github.com/getsentry/sentry/tree/master/src/sentry/integrations/vercel',
aspects: {},
},
};
}