diff --git a/tests/fixtures/js-stubs/userIdentity.js b/tests/fixtures/js-stubs/userIdentity.js index a9aaebb646a5ef..874120624ef33f 100644 --- a/tests/fixtures/js-stubs/userIdentity.js +++ b/tests/fixtures/js-stubs/userIdentity.js @@ -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, + }; +} diff --git a/tests/fixtures/js-stubs/vercelIntegration.js b/tests/fixtures/js-stubs/vercelIntegration.js index b2b326e38b9c79..4e5837e3e6e72b 100644 --- a/tests/fixtures/js-stubs/vercelIntegration.js +++ b/tests/fixtures/js-stubs/vercelIntegration.js @@ -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: {}, + }, + }; +}