stackMarkerToHumanReadable.spec.tsx 397 B

12345678910
  1. import {stackMarkerToHumanReadable} from 'sentry/utils/profiling/formatters/stackMarkerToHumanReadable';
  2. describe('stackMarkerToHumanReadable', () => {
  3. it('gracefully handles unknown input', () => {
  4. expect(stackMarkerToHumanReadable('boop' as JSSelfProfiling.Marker)).toBe('boop');
  5. });
  6. it('gc', () => {
  7. expect(stackMarkerToHumanReadable('gc')).toBe('Garbage Collection');
  8. });
  9. });