Skip to content

Commit 8d7855c

Browse files
committed
pr fixes...
1 parent 5625789 commit 8d7855c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/node/test/handlers.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ describe('tracingHandler', () => {
373373
expect(transaction.status).toBe('ok');
374374
// eslint-disable-next-line deprecation/deprecation
375375
expect(transaction.tags).toEqual(expect.objectContaining({ 'http.status_code': '200' }));
376-
// eslint-disable-next-line deprecation/deprecation
377-
expect(transaction.data).toEqual(expect.objectContaining({ 'http.response.status_code': 200 }));
376+
expect(sentryCore.spanGetAttributes(transaction)).toEqual(
377+
expect.objectContaining({ 'http.response.status_code': 200 }),
378+
);
378379
done();
379380
});
380381
});

0 commit comments

Comments
 (0)