mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
11 lines
397 B
TypeScript
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');
|
|
});
|
|
});
|