@@ -387,7 +387,6 @@ describe('bindTracingChannelToSpan', () => {
387387 const { status, data } = spanToJSON ( span ) ;
388388 expect ( status ) . toBe ( 'bad input' ) ;
389389 expect ( data [ 'error.type' ] ) . toBe ( 'TypeError' ) ;
390- expect ( data [ 'sentry.status.message' ] ) . toBe ( 'bad input' ) ;
391390 } ) ;
392391
393392 it ( 'stringifies a thrown primitive and marks the type unknown' , ( ) => {
@@ -405,7 +404,6 @@ describe('bindTracingChannelToSpan', () => {
405404 const { status, data } = spanToJSON ( span ) ;
406405 expect ( status ) . toBe ( 'plain failure' ) ;
407406 expect ( data [ 'error.type' ] ) . toBe ( 'unknown' ) ;
408- expect ( data [ 'sentry.status.message' ] ) . toBe ( 'plain failure' ) ;
409407 } ) ;
410408
411409 it ( 'falls back to unknown_error for an error-like object without `name` or `message`' , ( ) => {
@@ -423,7 +421,6 @@ describe('bindTracingChannelToSpan', () => {
423421 const { status, data } = spanToJSON ( span ) ;
424422 expect ( status ) . toBe ( 'unknown_error' ) ;
425423 expect ( data [ 'error.type' ] ) . toBe ( 'unknown' ) ;
426- expect ( data [ 'sentry.status.message' ] ) . toBe ( 'unknown_error' ) ;
427424 } ) ;
428425
429426 it ( 'falls back to unknown_error when a falsy value is thrown' , ( ) => {
@@ -445,7 +442,6 @@ describe('bindTracingChannelToSpan', () => {
445442 const { status, data } = spanToJSON ( span ) ;
446443 expect ( status ) . toBe ( 'unknown_error' ) ;
447444 expect ( data [ 'error.type' ] ) . toBe ( 'unknown' ) ;
448- expect ( data [ 'sentry.status.message' ] ) . toBe ( 'unknown_error' ) ;
449445 } ) ;
450446 } ) ;
451447 } ) ;
0 commit comments