Skip to content

Commit 765f89d

Browse files
committed
fix type lint
1 parent 5bad618 commit 765f89d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/browser/test/profiling/integration.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import * as Sentry from '@sentry/browser';
66
import { debug } from '@sentry/core';
77
import { describe, expect, it, vi } from 'vitest';
8+
import type { BrowserClient } from '../../src/index';
89
import type { JSSelfProfile } from '../../src/profiling/jsSelfProfiling';
910

1011
describe('BrowserProfilingIntegration', () => {
@@ -105,7 +106,7 @@ describe('BrowserProfilingIntegration', () => {
105106
});
106107

107108
const client = Sentry.getClient<BrowserClient>();
108-
const lifecycle = (client?.getOptions() as any)?.profileLifecycle;
109+
const lifecycle = client?.getOptions()?.profileLifecycle;
109110
expect(lifecycle).toBe('manual');
110111
});
111112
});

0 commit comments

Comments
 (0)