Skip to content

Commit b414904

Browse files
committed
fixes
1 parent 3087643 commit b414904

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

dev-packages/e2e-tests/test-applications/nitro-3/tests/isolation.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { waitForError, waitForTransaction } from '@sentry-internal/test-utils';
33

44
test('Isolation scope prevents tag leaking between requests', async ({ request }) => {
55
const transactionEventPromise = waitForTransaction('nitro-3', event => {
6-
console.log('event', event.transaction, event.contexts?.trace);
76
return event?.transaction === 'GET /api/test-isolation/:id';
87
});
98

packages/nitro/test/runtime/hooks/captureErrorHook.test.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,6 @@ describe('captureErrorHook', () => {
6161
);
6262
});
6363

64-
it('should set transaction name from method and path', async () => {
65-
const mockSetTransactionName = vi.fn();
66-
(SentryCore.getCurrentScope as any).mockReturnValue({
67-
setTransactionName: mockSetTransactionName,
68-
});
69-
70-
const error = new Error('Test error');
71-
72-
await captureErrorHook(error, mockErrorContext);
73-
74-
expect(mockSetTransactionName).toHaveBeenCalledWith('GET /test-path');
75-
});
76-
7764
it('should skip HTTPError with 4xx status codes', async () => {
7865
const error = new HTTPError({ status: 404, message: 'Not found' });
7966

0 commit comments

Comments
 (0)