@@ -701,6 +701,11 @@ describe('Schema details generation', () => {
701
701
expect ( extensionPath ) . to . have . property ( 'x-attKey6' ) ;
702
702
expect ( extensionPath ) . to . have . property ( 'x-attKey7' ) ;
703
703
expect ( extensionPath ) . to . have . property ( 'x-attKey8' ) ;
704
+ expect ( extensionPath ) . to . have . property ( 'x-attKey10' ) ;
705
+ expect ( extensionPath ) . to . have . property ( 'x-attKey11' ) ;
706
+ expect ( extensionPath ) . to . have . property ( 'x-attKey12' ) ;
707
+ expect ( extensionPath ) . to . have . property ( 'x-attKey13' ) ;
708
+ expect ( extensionPath ) . to . have . property ( 'x-attKey14' ) ;
704
709
705
710
// Verify that extensions have correct values
706
711
expect ( extensionPath [ 'x-attKey' ] ) . to . deep . equal ( 'attValue' ) ;
@@ -712,6 +717,11 @@ describe('Schema details generation', () => {
712
717
expect ( extensionPath [ 'x-attKey6' ] ) . to . deep . equal ( [ { y0 : 'yt0' , y1 : 'yt1' , y2 : 123 , y3 : true , y4 : null } , { y2 : 'yt2' } ] ) ;
713
718
expect ( extensionPath [ 'x-attKey7' ] ) . to . deep . equal ( { test : [ 'testVal' , 123 , true , null ] } ) ;
714
719
expect ( extensionPath [ 'x-attKey8' ] ) . to . deep . equal ( { test : { testArray : [ 'testVal1' , true , null , [ 'testVal2' , 'testVal3' , 123 , true , null ] ] } } ) ;
720
+ expect ( extensionPath [ 'x-attKey10' ] ) . to . deep . equal ( [ 'testVal1' , 'testVal2' , 123 , true , null ] ) ;
721
+ expect ( extensionPath [ 'x-attKey11' ] ) . to . deep . equal ( [ 'testVal1' , 'v' , 'a' , 'l' ] ) ;
722
+ expect ( extensionPath [ 'x-attKey12' ] ) . to . deep . equal ( { '0' : 1 , '1' : 2 , '2' : 3 , '3' : 4 } ) ;
723
+ expect ( extensionPath [ 'x-attKey13' ] ) . to . deep . equal ( { '0' : 'testVal1' , '1' : 123 , '2' : true , '3' : null } ) ;
724
+ expect ( extensionPath [ 'x-attKey14' ] ) . to . deep . equal ( { y0 : 'yt0' , y1 : 'yt1' , y2 : 123 , y3 : true , y4 : null } ) ;
715
725
} ) ;
716
726
717
727
describe ( '@Res responses' , ( ) => {
0 commit comments