Skip to content

Commit dc8807c

Browse files
committed
profiling: rename api
1 parent 8c325f3 commit dc8807c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/profiling-node/test/integration.test.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,13 +1004,6 @@ describe('Legacy vs Current API compat', () => {
10041004
expect(startProfilingSpy).not.toHaveBeenCalled();
10051005
expect(stopProfilingSpy).not.toHaveBeenCalled();
10061006

1007-
// This API is not supported in legacy mode
1008-
Sentry.profiler.startProfiler();
1009-
Sentry.profiler.stopProfiler();
1010-
1011-
expect(startProfilingSpy).not.toHaveBeenCalled();
1012-
expect(stopProfilingSpy).not.toHaveBeenCalled();
1013-
10141007
// Only starting and stopping the profiler is supported in legacy mode
10151008
const span = Sentry.startInactiveSpan({ forceTransaction: true, name: 'profile_hub' });
10161009
span.end();
@@ -1036,14 +1029,6 @@ describe('Legacy vs Current API compat', () => {
10361029
expect(startProfilingSpy).not.toHaveBeenCalled();
10371030
expect(stopProfilingSpy).not.toHaveBeenCalled();
10381031

1039-
// This API is not supported in legacy mode
1040-
Sentry.profiler.startProfiler();
1041-
Sentry.profiler.stopProfiler();
1042-
1043-
expect(startProfilingSpy).not.toHaveBeenCalled();
1044-
expect(stopProfilingSpy).not.toHaveBeenCalled();
1045-
1046-
// Only the old signature is supported
10471032
Sentry.profiler.startProfiler();
10481033
Sentry.profiler.stopProfiler();
10491034

0 commit comments

Comments
 (0)