Skip to content

Commit 3d33407

Browse files
committed
feat(solidjs): Move browserInit spy into testcase
1 parent 9cdc10a commit 3d33407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/solidjs/test/sdk.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import * as SentryBrowser from '@sentry/browser';
44
import { vi } from 'vitest';
55
import { init as solidInit } from '../src/sdk';
66

7-
const browserInit = vi.spyOn(SentryBrowser, 'init');
8-
97
describe('Initialize SolidJS SDk', () => {
108
beforeEach(() => {
119
vi.clearAllMocks();
1210
});
1311

1412
it('has the correct metadata', () => {
13+
const browserInit = vi.spyOn(SentryBrowser, 'init');
14+
1515
solidInit({
1616
dsn: 'https://[email protected]/1337',
1717
});

0 commit comments

Comments
 (0)