Files
sentinel/static/app/utils/profiling/formatters/stackMarkerToHumanReadable.spec.tsx
2024-02-15 17:01:50 +00:00

11 lines
397 B
TypeScript

import {stackMarkerToHumanReadable} from 'sentry/utils/profiling/formatters/stackMarkerToHumanReadable';
describe('stackMarkerToHumanReadable', () => {
it('gracefully handles unknown input', () => {
expect(stackMarkerToHumanReadable('boop' as JSSelfProfiling.Marker)).toBe('boop');
});
it('gc', () => {
expect(stackMarkerToHumanReadable('gc')).toBe('Garbage Collection');
});
});