You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {Boolean} value Whether to throw when a expectation fails
1556
-
* @deprecated Use the `oneFailurePerSpec` option with {@link Env#configure}
1556
+
* @deprecated Use the `stopSpecOnExpectationFailure` option with {@link Env#configure}
1557
1557
*/
1558
1558
this.throwOnExpectationFailure=function(value){
1559
1559
this.deprecated(
1560
-
'Setting throwOnExpectationFailure directly on Env is deprecated and will be removed in a future version of Jasmine, please use the oneFailurePerSpec option in `configure`'
1560
+
'Setting throwOnExpectationFailure directly on Env is deprecated and '+
1561
+
'will be removed in a future version of Jasmine. Please use the '+
1562
+
'stopSpecOnExpectationFailure option in `configure`.'
1561
1563
);
1562
1564
this.configure({oneFailurePerSpec: !!value});
1563
1565
};
1564
1566
1565
1567
this.throwingExpectationFailures=function(){
1566
1568
this.deprecated(
1567
-
'Getting throwingExpectationFailures directly from Env is deprecated and will be removed in a future version of Jasmine, please check the oneFailurePerSpec option from `configuration`'
1569
+
'Getting throwingExpectationFailures directly from Env is deprecated '+
1570
+
'and will be removed in a future version of Jasmine. Please check '+
1571
+
'the stopSpecOnExpectationFailure option from `configuration`.'
* @param {Boolean} value Whether to stop suite execution when a spec fails
1578
-
* @deprecated Use the `failFast` option with {@link Env#configure}
1582
+
* @deprecated Use the `stopOnSpecFailure` option with {@link Env#configure}
1579
1583
*/
1580
1584
this.stopOnSpecFailure=function(value){
1581
1585
this.deprecated(
1582
-
'Setting stopOnSpecFailure directly is deprecated and will be removed in a future version of Jasmine, please use the failFast option in `configure`'
1586
+
'Setting stopOnSpecFailure directly is deprecated and will be '+
1587
+
'removed in a future version of Jasmine. Please use the '+
1588
+
'stopOnSpecFailure option in `configure`.'
1583
1589
);
1584
1590
this.configure({stopOnSpecFailure: !!value});
1585
1591
};
1586
1592
1587
1593
this.stoppingOnSpecFailure=function(){
1588
1594
this.deprecated(
1589
-
'Getting stoppingOnSpecFailure directly from Env is deprecated and will be removed in a future version of Jasmine, please check the failFast option from `configuration`'
1595
+
'Getting stoppingOnSpecFailure directly from Env is deprecated and '+
1596
+
'will be removed in a future version of Jasmine. Please check the '+
* @param {Boolean} value Whether to throw when a expectation fails
546
-
* @deprecated Use the `oneFailurePerSpec` option with {@link Env#configure}
546
+
* @deprecated Use the `stopSpecOnExpectationFailure` option with {@link Env#configure}
547
547
*/
548
548
this.throwOnExpectationFailure=function(value){
549
549
this.deprecated(
550
-
'Setting throwOnExpectationFailure directly on Env is deprecated and will be removed in a future version of Jasmine, please use the oneFailurePerSpec option in `configure`'
550
+
'Setting throwOnExpectationFailure directly on Env is deprecated and '+
551
+
'will be removed in a future version of Jasmine. Please use the '+
552
+
'stopSpecOnExpectationFailure option in `configure`.'
551
553
);
552
554
this.configure({oneFailurePerSpec: !!value});
553
555
};
554
556
555
557
this.throwingExpectationFailures=function(){
556
558
this.deprecated(
557
-
'Getting throwingExpectationFailures directly from Env is deprecated and will be removed in a future version of Jasmine, please check the oneFailurePerSpec option from `configuration`'
559
+
'Getting throwingExpectationFailures directly from Env is deprecated '+
560
+
'and will be removed in a future version of Jasmine. Please check '+
561
+
'the stopSpecOnExpectationFailure option from `configuration`.'
* @param {Boolean} value Whether to stop suite execution when a spec fails
568
-
* @deprecated Use the `failFast` option with {@link Env#configure}
572
+
* @deprecated Use the `stopOnSpecFailure` option with {@link Env#configure}
569
573
*/
570
574
this.stopOnSpecFailure=function(value){
571
575
this.deprecated(
572
-
'Setting stopOnSpecFailure directly is deprecated and will be removed in a future version of Jasmine, please use the failFast option in `configure`'
576
+
'Setting stopOnSpecFailure directly is deprecated and will be '+
577
+
'removed in a future version of Jasmine. Please use the '+
578
+
'stopOnSpecFailure option in `configure`.'
573
579
);
574
580
this.configure({stopOnSpecFailure: !!value});
575
581
};
576
582
577
583
this.stoppingOnSpecFailure=function(){
578
584
this.deprecated(
579
-
'Getting stoppingOnSpecFailure directly from Env is deprecated and will be removed in a future version of Jasmine, please check the failFast option from `configuration`'
585
+
'Getting stoppingOnSpecFailure directly from Env is deprecated and '+
586
+
'will be removed in a future version of Jasmine. Please check the '+
0 commit comments