@@ -116,7 +116,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
116116 await setFieldValue ( targetInput , 'newValue' ) ;
117117
118118 // then
119- expect ( getInput ( serviceTask , 0 ) . get ( 'target' ) ) . to . eql ( 'newValue' ) ;
119+ expect ( getInput ( serviceTask , 0 ) ) . to . have . property ( 'target' , 'newValue' ) ;
120120 } ) ) ;
121121
122122
@@ -224,7 +224,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
224224 await setFieldValue ( sourceInput , 'newValue' ) ;
225225
226226 // then
227- expect ( getInput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( '=newValue' ) ;
227+ expect ( getInput ( serviceTask , 0 ) ) . to . have . property ( 'source' , '=newValue' ) ;
228228 } ) ) ;
229229
230230
@@ -278,14 +278,14 @@ describe('provider/zeebe - InputOutputParameter', function() {
278278 await setFieldValue ( field , 'newValue' ) ;
279279
280280 // assume
281- expect ( getInput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( 'newValue' ) ;
281+ expect ( getInput ( serviceTask , 0 ) ) . to . have . property ( 'source' , 'newValue' ) ;
282282
283283 // when
284284 commandStack . undo ( ) ;
285285 await nextTick ( ) ; // propagate value to editor and await change handler
286286
287287 // then
288- expect ( getInput ( serviceTask , 0 ) . get ( 'source' ) ) . to . be . undefined ;
288+ expect ( getInput ( serviceTask , 0 ) ) . not . to . have . property ( 'source' ) ;
289289 } )
290290 ) ;
291291
@@ -311,7 +311,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
311311 await setFieldValue ( sourceInput , 'newValue' ) ;
312312
313313 // assume
314- expect ( getInput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( 'newValue' ) ;
314+ expect ( getInput ( serviceTask , 0 ) ) . to . have . property ( 'source' , 'newValue' ) ;
315315
316316 // when
317317 commandStack . undo ( ) ;
@@ -320,7 +320,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
320320 await nextTick ( ) ;
321321
322322 // then
323- expect ( getInput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( 'newValue' ) ;
323+ expect ( getInput ( serviceTask , 0 ) ) . to . have . property ( 'source' , 'newValue' ) ;
324324
325325 } )
326326 ) ;
@@ -383,7 +383,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
383383 await setFieldValue ( targetInput , 'newValue' ) ;
384384
385385 // then
386- expect ( getOutput ( serviceTask , 0 ) . get ( 'target' ) ) . to . eql ( 'newValue' ) ;
386+ expect ( getOutput ( serviceTask , 0 ) ) . to . have . property ( 'target' , 'newValue' ) ;
387387 } ) ) ;
388388
389389
@@ -522,14 +522,14 @@ describe('provider/zeebe - InputOutputParameter', function() {
522522 await setFieldValue ( sourceInput , 'newValue' ) ;
523523
524524 // assume
525- expect ( getOutput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( '=newValue' ) ;
525+ expect ( getOutput ( serviceTask , 0 ) ) . to . have . property ( 'source' , '=newValue' ) ;
526526
527527 // when
528528 commandStack . undo ( ) ;
529529 await nextTick ( ) ; // propagate value to editor and await change handler
530530
531531 // then
532- expect ( getOutput ( serviceTask , 0 ) . get ( 'source' ) ) . to . be . undefined ;
532+ expect ( getOutput ( serviceTask , 0 ) ) . not . to . have . property ( 'source' ) ;
533533 } )
534534 ) ;
535535
@@ -555,7 +555,7 @@ describe('provider/zeebe - InputOutputParameter', function() {
555555 await setFieldValue ( sourceInput , 'newValue' ) ;
556556
557557 // assume
558- expect ( getOutput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( '=newValue' ) ;
558+ expect ( getOutput ( serviceTask , 0 ) ) . to . have . property ( 'source' , '=newValue' ) ;
559559
560560 // when
561561 commandStack . undo ( ) ;
@@ -564,10 +564,10 @@ describe('provider/zeebe - InputOutputParameter', function() {
564564 await nextTick ( ) ;
565565
566566 // then
567- expect ( getOutput ( serviceTask , 0 ) . get ( 'source' ) ) . to . eql ( '=newValue' ) ;
568-
567+ expect ( getOutput ( serviceTask , 0 ) ) . to . have . property ( 'source' , '=newValue' ) ;
569568 } )
570569 ) ;
570+
571571 } ) ;
572572
573573 } ) ;
0 commit comments