import {Organization} from 'sentry-fixture/organization'; import {Organization as OrganizationType} from 'sentry/types'; export function Organizations( params: Partial = {} ): OrganizationType[] { return [ Organization({ id: '1', name: 'test 1', slug: 'test 1', require2FA: false, status: { id: 'active', name: 'active', }, ...params, }), Organization({ id: '2', name: 'test 2', slug: 'test 2', require2FA: false, status: { id: 'active', name: 'active', }, ...params, }), ]; }