File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,7 +283,11 @@ export function stopProfiling(
283283
284284 if ( collectedProfiles . androidProfile ) {
285285 const durationNs = profileEndTimestampNs - profileStartTimestampNs ;
286- const androidProfile = createAndroidWithHermesProfile ( hermesProfileEvent , collectedProfiles . androidProfile , durationNs ) ;
286+ const androidProfile = createAndroidWithHermesProfile (
287+ hermesProfileEvent ,
288+ collectedProfiles . androidProfile ,
289+ durationNs ,
290+ ) ;
287291 androidProfile . profilingStartTimestampNs = profileStartTimestampNs ;
288292 return androidProfile ;
289293 } else if ( collectedProfiles . nativeProfile ) {
Original file line number Diff line number Diff line change @@ -3,9 +3,13 @@ jest.mock('../../src/js/profiling/debugid');
33
44import type { Event } from '@sentry/core' ;
55
6- import { getDebugMetadata } from '../../src/js/profiling/debugid' ;
76import type { AndroidCombinedProfileEvent , CombinedProfileEvent } from '../../src/js/profiling/types' ;
8- import { enrichAndroidProfileWithEventContext , enrichCombinedProfileWithEventContext } from '../../src/js/profiling/utils' ;
7+
8+ import { getDebugMetadata } from '../../src/js/profiling/debugid' ;
9+ import {
10+ enrichAndroidProfileWithEventContext ,
11+ enrichCombinedProfileWithEventContext ,
12+ } from '../../src/js/profiling/utils' ;
913import { getDefaultEnvironment } from '../../src/js/utils/environment' ;
1014import { createMockMinimalValidAndroidProfile , createMockMinimalValidHermesProfileEvent } from './fixtures' ;
1115
You can’t perform that action at this time.
0 commit comments