Skip to content

Commit 8eec189

Browse files
committed
Remove unnecessary browser integration in server tests..
1 parent fd5ed95 commit 8eec189

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/solidstart/test/server/withServerActionInstrumentation.test.ts

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
import { NodeClient } from '@sentry/node';
1313
import { redirect } from '@solidjs/router';
1414
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
15-
import { solidRouterBrowserTracingIntegration } from '../../src/client/solidrouter';
1615

1716
const mockCaptureException = vi.spyOn(SentryNode, 'captureException').mockImplementation(() => '');
1817
const mockFlush = vi.spyOn(SentryNode, 'flush').mockImplementation(async () => true);
@@ -98,7 +97,6 @@ describe('withServerActionInstrumentation', () => {
9897
setCurrentClient(client);
9998

10099
client.on('spanStart', span => spanStartMock(spanToJSON(span)));
101-
client.addIntegration(solidRouterBrowserTracingIntegration());
102100

103101
await serverActionGetPrefecture();
104102
expect(spanStartMock).toHaveBeenCalledWith(

0 commit comments

Comments
 (0)