Skip to content

Commit 9972b09

Browse files
committed
test(mcp-server): Update test to use spy for startSpan
1 parent 094574f commit 9972b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/test/lib/mcp-server.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ describe('wrapMcpServerWithSentry', () => {
354354

355355
mockTransport.onmessage?.(jsonRpcRequest, {});
356356

357-
expect(tracingModule.startSpan).toHaveBeenCalledWith(
357+
expect(startSpanSpy).toHaveBeenCalledWith(
358358
expect.objectContaining({
359359
name: 'tools/list',
360360
forceTransaction: true,

0 commit comments

Comments
 (0)