Skip to content

Commit a784129

Browse files
antonisclaude
andcommitted
style(profiling): Fix formatting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 583b386 commit a784129

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

packages/core/src/js/profiling/integration.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

packages/core/test/profiling/utils.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ jest.mock('../../src/js/profiling/debugid');
33

44
import type { Event } from '@sentry/core';
55

6-
import { getDebugMetadata } from '../../src/js/profiling/debugid';
76
import 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';
913
import { getDefaultEnvironment } from '../../src/js/utils/environment';
1014
import { createMockMinimalValidAndroidProfile, createMockMinimalValidHermesProfileEvent } from './fixtures';
1115

0 commit comments

Comments
 (0)