Skip to content

Commit 2b6593a

Browse files
committed
fix: lint
1 parent df35cd5 commit 2b6593a

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

packages/astro/src/client/sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ declare const __SENTRY_TRACING__: boolean;
1717
* @param options Configuration options for the SDK.
1818
*/
1919
export function init(options: BrowserOptions): Client | undefined {
20-
2120
const opts = {
2221
defaultIntegrations: getDefaultIntegrations(options),
2322
...options,

packages/astro/test/server/sdk.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ describe('Sentry server SDK', () => {
4949

5050
it('returns client from init', () => {
5151
expect(init({})).not.toBeUndefined();
52-
})
52+
});
5353
});
5454
});

packages/browser/test/unit/sdk.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe('init', () => {
221221
const client = init(options);
222222

223223
expect(client).toBeUndefined();
224-
224+
225225
consoleErrorSpy.mockRestore();
226226
});
227227
});

packages/bun/src/sdk.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import {
44
linkedErrorsIntegration,
55
requestDataIntegration,
66
} from '@sentry/core';
7+
import type {
8+
NodeClient} from '@sentry/node';
79
import {
8-
NodeClient,
910
consoleIntegration,
1011
contextLinesIntegration,
1112
httpIntegration,

packages/core/test/lib/sdk.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('SDK', () => {
8787
const options = getDefaultTestClientOptions({ dsn: PUBLIC_DSN });
8888
const client = initAndBind(TestClient, options);
8989
expect(client).not.toBeUndefined();
90-
})
90+
});
9191
});
9292
});
9393

packages/deno/test/sdk.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { assertNotEquals } from 'https://deno.land/[email protected]/assert/assert_not_equals.ts';
12
import { init } from '../build/index.mjs';
2-
import { assertNotEquals } from "https://deno.land/[email protected]/assert/assert_not_equals.ts";
33

44
Deno.test('init() should return client', () => {
5-
assertNotEquals(init({}), undefined);
5+
assertNotEquals(init({}), undefined);
66
});

packages/node/src/sdk/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function _init(
178178

179179
enhanceDscWithOpenTelemetryRootSpanName(client);
180180
setupEventContextTrace(client);
181-
181+
182182
return client;
183183
}
184184

packages/node/test/sdk/init.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ describe('init()', () => {
141141
const client = init({ dsn: PUBLIC_DSN, skipOpenTelemetrySetup: true });
142142

143143
expect(client).toBeInstanceOf(NodeClient);
144-
})
144+
});
145145
});

0 commit comments

Comments
 (0)