@@ -2866,7 +2866,12 @@ describe('Auto Completion Tests', () => {
2866
2866
2867
2867
expect ( result . items . length ) . equal ( 5 ) ;
2868
2868
expect ( result . items [ 0 ] ) . to . deep . equal (
2869
- createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 0 , 0 , 0 , 10 , 2 , { documentation : '' } )
2869
+ createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 0 , 0 , 0 , 10 , 2 , {
2870
+ documentation : '' ,
2871
+ data : {
2872
+ schemaTitle : 'Object1' ,
2873
+ } ,
2874
+ } )
2870
2875
) ;
2871
2876
expect ( result . items [ 1 ] ) . to . deep . equal (
2872
2877
createExpectedCompletion ( 'Object1' , 'type: typeObj1\noptions:\n label: ' , 0 , 0 , 0 , 0 , 7 , 2 , {
@@ -2878,7 +2883,12 @@ describe('Auto Completion Tests', () => {
2878
2883
} )
2879
2884
) ;
2880
2885
expect ( result . items [ 2 ] ) . to . deep . equal (
2881
- createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 0 , 0 , 0 , 10 , 2 , { documentation : '' } )
2886
+ createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 0 , 0 , 0 , 10 , 2 , {
2887
+ documentation : '' ,
2888
+ data : {
2889
+ schemaTitle : 'Object1' ,
2890
+ } ,
2891
+ } )
2882
2892
) ;
2883
2893
expect ( result . items [ 3 ] ) . to . deep . equal (
2884
2894
createExpectedCompletion ( 'obj2' , 'type: typeObj2\noptions:\n description: ' , 0 , 0 , 0 , 0 , 7 , 2 , {
@@ -2915,7 +2925,12 @@ describe('Auto Completion Tests', () => {
2915
2925
2916
2926
expect ( result . items . length ) . equal ( 5 ) ;
2917
2927
expect ( result . items [ 0 ] ) . to . deep . equal (
2918
- createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 2 , 0 , 2 , 10 , 2 , { documentation : '' } )
2928
+ createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 2 , 0 , 2 , 10 , 2 , {
2929
+ documentation : '' ,
2930
+ data : {
2931
+ schemaTitle : 'Object1' ,
2932
+ } ,
2933
+ } )
2919
2934
) ;
2920
2935
expect ( result . items [ 1 ] ) . to . deep . equal (
2921
2936
createExpectedCompletion ( 'Object1' , 'type: typeObj1\n options:\n label: ' , 0 , 2 , 0 , 2 , 7 , 2 , {
@@ -2927,7 +2942,10 @@ describe('Auto Completion Tests', () => {
2927
2942
} )
2928
2943
) ;
2929
2944
expect ( result . items [ 2 ] ) . to . deep . equal (
2930
- createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 2 , 0 , 2 , 10 , 2 , { documentation : '' } )
2945
+ createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 2 , 0 , 2 , 10 , 2 , {
2946
+ documentation : '' ,
2947
+ data : { schemaTitle : 'Object1' } ,
2948
+ } )
2931
2949
) ;
2932
2950
expect ( result . items [ 3 ] ) . to . deep . equal (
2933
2951
createExpectedCompletion ( 'obj2' , 'type: typeObj2\n options:\n description: ' , 0 , 2 , 0 , 2 , 7 , 2 , {
0 commit comments