File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/profiling-node/test Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments