{ helper . openFiles ( helper . getMarkers ( ) . map ( ( m ) => m . fileName ) ) ; await helper . verifyCompletion ( 'exact' , 'markdown' , { marker1 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"key"' } , detail : 'Dictionary key' , } , ] , } , marker2 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker2' ) , newText : '"key"' } , detail : 'Dictionary key' , } , ] , } , marker3 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker3' ) , newText : '"key"' } , detail : 'Dictionary key' , } , ] , } , marker4 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker4' ) , newText : '"key"' } , detail : 'Dictionary key' , } , ] , } , marker5 : { completions : [ { label : 'name' , kind : Consts . CompletionItemKind . Constant , detail : 'Dictionary key' , } , { label : '"key2"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker5' ) , newText : '"key2"' } , detail : 'Dictionary key' , } , ] , } , marker6 : { completions : [ { label : 'keyString' , kind : Consts . CompletionItemKind . Variable } , { label : '"keyString"' , kind : Consts . CompletionItemKind . Constant , detail : 'Dictionary key' } , ] , } , marker7 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker7' ) , newText : '"key"' } , detail : 'Dictionary key' , } , { label : '1 + 2' , kind : Consts . CompletionItemKind . Constant , detail : 'Dictionary key' , } , ] , } , } ) ; }