1234567891011 |
- import {projectStatsToSampleRates} from 'sentry/views/settings/project/server-side-sampling/utils/projectStatsToSampleRates';
- describe('projectStatsToSampleRates', function () {
- it('returns correct sample rates', function () {
- expect(projectStatsToSampleRates(TestStubs.Outcomes())).toEqual({
- hoursOverLimit: 1,
- maxSafeSampleRate: 0.95,
- trueSampleRate: 1,
- });
- });
- });
|