Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
romtsn committed Sep 16, 2024
1 parent a50d2a8 commit 1f98765
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/js/profiling/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type {
Event,
Integration,
IntegrationClass,
IntegrationFn,
IntegrationFnResult,
ThreadCpuProfile,
Transaction,
Expand Down Expand Up @@ -50,7 +49,9 @@ const defaultOptions: Required<HermesProfilingOptions> = {
*
* @experimental
*/
export const hermesProfilingIntegration = (initOptions: HermesProfilingOptions = defaultOptions): IntegrationFnResult => {
export const hermesProfilingIntegration = (
initOptions: HermesProfilingOptions = defaultOptions,
): IntegrationFnResult => {
let _currentProfile:
| {
profile_id: string;
Expand Down
4 changes: 3 additions & 1 deletion test/profiling/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ describe('profiling integration', () => {
});
getCurrentHub().getScope()?.setSpan(transaction);

getCurrentHub().getClient()?.addIntegration?.(hermesProfilingIntegration({platformProfilers: false}));
getCurrentHub()
.getClient()
?.addIntegration?.(hermesProfilingIntegration({ platformProfilers: false }));

transaction.finish();
jest.runAllTimers();
Expand Down

0 comments on commit 1f98765

Please sign in to comment.