@@ -3220,7 +3220,12 @@ describe('Auto Completion Tests', () => {
3220
3220
3221
3221
expect ( result . items . length ) . equal ( 5 ) ;
3222
3222
expect ( result . items [ 0 ] ) . to . deep . equal (
3223
- createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 0 , 0 , 0 , 10 , 2 , { documentation : '' } )
3223
+ createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 0 , 0 , 0 , 10 , 2 , {
3224
+ documentation : '' ,
3225
+ data : {
3226
+ schemaTitle : 'Object1' ,
3227
+ } ,
3228
+ } )
3224
3229
) ;
3225
3230
expect ( result . items [ 1 ] ) . to . deep . equal (
3226
3231
createExpectedCompletion ( 'Object1' , 'type: typeObj1\noptions:\n label: ' , 0 , 0 , 0 , 0 , 7 , 2 , {
@@ -3232,7 +3237,12 @@ describe('Auto Completion Tests', () => {
3232
3237
} )
3233
3238
) ;
3234
3239
expect ( result . items [ 2 ] ) . to . deep . equal (
3235
- createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 0 , 0 , 0 , 10 , 2 , { documentation : '' } )
3240
+ createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 0 , 0 , 0 , 10 , 2 , {
3241
+ documentation : '' ,
3242
+ data : {
3243
+ schemaTitle : 'Object1' ,
3244
+ } ,
3245
+ } )
3236
3246
) ;
3237
3247
expect ( result . items [ 3 ] ) . to . deep . equal (
3238
3248
createExpectedCompletion ( 'obj2' , 'type: typeObj2\noptions:\n description: ' , 0 , 0 , 0 , 0 , 7 , 2 , {
@@ -3269,7 +3279,12 @@ describe('Auto Completion Tests', () => {
3269
3279
3270
3280
expect ( result . items . length ) . equal ( 5 ) ;
3271
3281
expect ( result . items [ 0 ] ) . to . deep . equal (
3272
- createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 2 , 0 , 2 , 10 , 2 , { documentation : '' } )
3282
+ createExpectedCompletion ( 'type' , 'type: ${1|typeObj1,typeObj2|}' , 0 , 2 , 0 , 2 , 10 , 2 , {
3283
+ documentation : '' ,
3284
+ data : {
3285
+ schemaTitle : 'Object1' ,
3286
+ } ,
3287
+ } )
3273
3288
) ;
3274
3289
expect ( result . items [ 1 ] ) . to . deep . equal (
3275
3290
createExpectedCompletion ( 'Object1' , 'type: typeObj1\n options:\n label: ' , 0 , 2 , 0 , 2 , 7 , 2 , {
@@ -3281,7 +3296,10 @@ describe('Auto Completion Tests', () => {
3281
3296
} )
3282
3297
) ;
3283
3298
expect ( result . items [ 2 ] ) . to . deep . equal (
3284
- createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 2 , 0 , 2 , 10 , 2 , { documentation : '' } )
3299
+ createExpectedCompletion ( 'options' , 'options:\n label: ' , 0 , 2 , 0 , 2 , 10 , 2 , {
3300
+ documentation : '' ,
3301
+ data : { schemaTitle : 'Object1' } ,
3302
+ } )
3285
3303
) ;
3286
3304
expect ( result . items [ 3 ] ) . to . deep . equal (
3287
3305
createExpectedCompletion ( 'obj2' , 'type: typeObj2\n options:\n description: ' , 0 , 2 , 0 , 2 , 7 , 2 , {
0 commit comments