@@ -582,7 +582,7 @@ describe('MachineLearning', () => {
582
582
stubs . push ( stub ) ;
583
583
return machineLearning . createModel ( MODEL_OPTIONS_WITH_GCS )
584
584
. should . eventually . be . rejected . and . have . property (
585
- 'message' , 'Cannot read property \'done\' of null ' ) ;
585
+ 'message' , 'Cannot read properties of null (reading \'done\') ' ) ;
586
586
} ) ;
587
587
588
588
it ( 'should reject when API response does not contain a name' , ( ) => {
@@ -699,7 +699,7 @@ describe('MachineLearning', () => {
699
699
stubs . push ( stub ) ;
700
700
return machineLearning . updateModel ( MODEL_ID , MODEL_OPTIONS_WITH_GCS )
701
701
. should . eventually . be . rejected . and . have . property (
702
- 'message' , 'Cannot read property \'done\' of null ' ) ;
702
+ 'message' , 'Cannot read properties of null (reading \'done\') ' ) ;
703
703
} ) ;
704
704
705
705
it ( 'should reject when API response does not contain a name' , ( ) => {
@@ -803,7 +803,7 @@ describe('MachineLearning', () => {
803
803
stubs . push ( stub ) ;
804
804
return machineLearning . publishModel ( MODEL_ID )
805
805
. should . eventually . be . rejected . and . have . property (
806
- 'message' , 'Cannot read property \'done\' of null ' ) ;
806
+ 'message' , 'Cannot read properties of null (reading \'done\') ' ) ;
807
807
} ) ;
808
808
809
809
it ( 'should reject when API response does not contain a name' , ( ) => {
@@ -907,7 +907,7 @@ describe('MachineLearning', () => {
907
907
stubs . push ( stub ) ;
908
908
return machineLearning . unpublishModel ( MODEL_ID )
909
909
. should . eventually . be . rejected . and . have . property (
910
- 'message' , 'Cannot read property \'done\' of null ' ) ;
910
+ 'message' , 'Cannot read properties of null (reading \'done\') ' ) ;
911
911
} ) ;
912
912
913
913
it ( 'should reject when API response does not contain a name' , ( ) => {
0 commit comments