@@ -488,7 +488,7 @@ describe('Release Health Session Term', function () {
488
488
'node-express'
489
489
) ;
490
490
expect ( crashedSessionTerm ) . toEqual (
491
- " During the session an error with mechanism.handled===false occurred calling the 'onerror' on 'unhandledrejection' handler"
491
+ ' During the session an unhandled global error/promise rejection occurred.'
492
492
) ;
493
493
494
494
// Crash Free Users
@@ -510,15 +510,15 @@ describe('Release Health Session Term', function () {
510
510
SessionTerm . ABNORMAL ,
511
511
'node-express'
512
512
) ;
513
- expect ( abnormalSessionTerm ) . toEqual ( 'Non applicable for Javascript' ) ;
513
+ expect ( abnormalSessionTerm ) . toEqual ( 'Non applicable for Javascript. ' ) ;
514
514
515
515
// Healthy
516
516
const healthySessionTerm = getSessionTermDescription (
517
517
SessionTerm . HEALTHY ,
518
518
'node-express'
519
519
) ;
520
520
expect ( healthySessionTerm ) . toEqual (
521
- 'No errors were captured during session life-time'
521
+ 'No errors were captured during session life-time. '
522
522
) ;
523
523
524
524
// Errored
@@ -527,7 +527,7 @@ describe('Release Health Session Term', function () {
527
527
'node-express'
528
528
) ;
529
529
expect ( erroredSessionTerm ) . toEqual (
530
- 'During the session at least one error occurred that did not bubble up to the global handler. The application loading process did not crash '
530
+ 'During the session at least one handled error occurred. '
531
531
) ;
532
532
533
533
// Unhandled
@@ -536,7 +536,7 @@ describe('Release Health Session Term', function () {
536
536
'node-express'
537
537
) ;
538
538
expect ( unhandledSessionTerm ) . toEqual (
539
- "An error was captured by the global 'onerror' or 'onunhandledrejection' handler"
539
+ "An error was captured by the global 'onerror' or 'onunhandledrejection' handler. "
540
540
) ;
541
541
} ) ;
542
542
@@ -554,7 +554,7 @@ describe('Release Health Session Term', function () {
554
554
'javascript'
555
555
) ;
556
556
expect ( crashedSessionTerm ) . toEqual (
557
- " During the session an error with mechanism.handled===false occurred calling the 'onerror' on 'unhandledrejection' handler"
557
+ ' During the session an unhandled global error/promise rejection occurred.'
558
558
) ;
559
559
560
560
// Crash Free Users
@@ -576,15 +576,15 @@ describe('Release Health Session Term', function () {
576
576
SessionTerm . ABNORMAL ,
577
577
'javascript'
578
578
) ;
579
- expect ( abnormalSessionTerm ) . toEqual ( 'Non applicable for Javascript' ) ;
579
+ expect ( abnormalSessionTerm ) . toEqual ( 'Non applicable for Javascript. ' ) ;
580
580
581
581
// Healthy
582
582
const healthySessionTerm = getSessionTermDescription (
583
583
SessionTerm . HEALTHY ,
584
584
'javascript'
585
585
) ;
586
586
expect ( healthySessionTerm ) . toEqual (
587
- 'No errors were captured during session life-time'
587
+ 'No errors were captured during session life-time. '
588
588
) ;
589
589
590
590
// Errored
@@ -593,7 +593,7 @@ describe('Release Health Session Term', function () {
593
593
'javascript'
594
594
) ;
595
595
expect ( erroredSessionTerm ) . toEqual (
596
- 'During the session at least one error occurred that did not bubble up to the global handler. The application loading process did not crash '
596
+ 'During the session at least one handled error occurred. '
597
597
) ;
598
598
599
599
// Unhandled
@@ -602,7 +602,7 @@ describe('Release Health Session Term', function () {
602
602
'javascript'
603
603
) ;
604
604
expect ( unhandledSessionTerm ) . toEqual (
605
- "An error was captured by the global 'onerror' or 'onunhandledrejection' handler"
605
+ "An error was captured by the global 'onerror' or 'onunhandledrejection' handler. "
606
606
) ;
607
607
} ) ;
608
608
0 commit comments