import {render, screen} from 'sentry-test/reactTestingLibrary'; import { formatStoreCrashReports, getStoreCrashReportsValues, } from 'sentry/utils/crashReports'; describe('crashReportsUtils', () => { it('returns correct values for organization scope', () => { expect(getStoreCrashReportsValues(0)).toEqual([0, 1, 5, 10, 20, 50, 100, -1]); }); it('returns correct values for project scope', () => { expect(getStoreCrashReportsValues(1)).toEqual([null, 0, 1, 5, 10, 20, 50, 100, -1]); }); it('formats basic values', () => { expect(formatStoreCrashReports(-1)).toBe('Unlimited'); expect(formatStoreCrashReports(0)).toBe('Disabled'); }); it('formats per issue values', () => { render(