Skip to content

Commit 5b0226f

Browse files
committed
fix linter errors
1 parent 8ebddd1 commit 5b0226f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/browser/test/unit/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ describe('SentryBrowser initialization', () => {
269269
it('should set SDK data when instantiating a client directly', () => {
270270
const client = new BrowserClient({ dsn }, new SimpleTransport({ dsn }));
271271

272-
const sdkData = (getCurrentHub().getClient() as any).getTransport()._api.metadata?.sdk;
272+
const sdkData = (client.getTransport() as any)._api.metadata?.sdk;
273273

274274
expect(sdkData.name).toBe('sentry.javascript.browser');
275275
expect(sdkData.packages[0].name).toBe('npm:@sentry/browser');

packages/browser/test/unit/transports/setup.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { NoopTransport } from '@sentry/core';
2+
23
import { FetchTransport, setupBrowserTransport, XHRTransport } from '../../../src/transports';
34
import { SimpleTransport } from '../mocks/simpletransport';
45

0 commit comments

Comments
 (0)