We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5625789 commit 8d7855cCopy full SHA for 8d7855c
packages/node/test/handlers.test.ts
@@ -373,8 +373,9 @@ describe('tracingHandler', () => {
373
expect(transaction.status).toBe('ok');
374
// eslint-disable-next-line deprecation/deprecation
375
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 }));
+ expect(sentryCore.spanGetAttributes(transaction)).toEqual(
+ expect.objectContaining({ 'http.response.status_code': 200 }),
378
+ );
379
done();
380
});
381
0 commit comments