@@ -424,7 +424,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
424424 createdBy : "alice" ,
425425 }
426426 )
427- expect ( res . data . ID ) . to . not . be . null
427+ expect ( res . data . ID ) . not . toBeNull ( )
428428
429429 await utils . draftModeSave ( "processor" , "Test" , testID , ( ) => { } , "ProcessorService" )
430430
@@ -468,7 +468,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
468468 createdBy : "alice" ,
469469 }
470470 )
471- expect ( res . data . ID ) . to . not . be . null
471+ expect ( res . data . ID ) . not . toBeNull ( )
472472
473473 await utils . draftModeSave ( "processor" , "Test" , testID , ( ) => { } , "ProcessorService" )
474474
@@ -496,7 +496,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
496496 createdBy : "alice" ,
497497 }
498498 )
499- expect ( attachRes . data . ID ) . to . not . be . null
499+ expect ( attachRes . data . ID ) . not . toBeNull ( )
500500 await utils . draftModeSave ( "processor" , "Test" , testID , ( ) => { } , "ProcessorService" )
501501
502502 // Delete the parent Test entity
@@ -538,7 +538,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
538538 createdBy : "alice" ,
539539 }
540540 )
541- expect ( attachRes . data . ID ) . to . not . be . null
541+ expect ( attachRes . data . ID ) . not . toBeNull ( )
542542 await utils . draftModeSave ( "processor" , "Test" , testID , ( ) => { } , "ProcessorService" )
543543
544544 // Delete the child TestDetails entity
@@ -574,7 +574,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
574574 createdBy : "alice" ,
575575 }
576576 )
577- expect ( attachResTest . data . ID ) . to . not . be . null
577+ expect ( attachResTest . data . ID ) . not . toBeNull ( )
578578
579579 const detailsID = cds . utils . uuid ( )
580580 await POST (
@@ -592,7 +592,7 @@ describe("Tests for uploading/deleting attachments through API calls", () => {
592592 createdBy : "alice" ,
593593 }
594594 )
595- expect ( attachResDetails . data . ID ) . to . not . be . null
595+ expect ( attachResDetails . data . ID ) . not . toBeNull ( )
596596 await utils . draftModeSave ( "processor" , "Test" , testID , ( ) => { } , "ProcessorService" )
597597
598598 // Delete the child TestDetails entity
0 commit comments