@@ -71,18 +71,6 @@ test('support completion in ESM', async () => {
7171 const resolved = await serverHandle . sendCompletionResolveRequest ( completion )
7272 assert . deepEqual ( resolved , {
7373 commitCharacters : [ '.' , ',' , ';' , '(' ] ,
74- data : {
75- fileName : fixturePath ( 'node16/completion.mdx' ) ,
76- offset : 81 ,
77- originalItem : { name : 'Boolean' } ,
78- uri : String (
79- URI . from ( {
80- scheme : 'volar-embedded-content' ,
81- authority : 'jsx' ,
82- path : '/' + encodeURIComponent ( fixtureUri ( 'node16/completion.mdx' ) )
83- } )
84- )
85- } ,
8674 detail : 'interface Boolean\nvar Boolean: BooleanConstructor' ,
8775 documentation : { kind : 'markdown' , value : '' } ,
8876 insertTextFormat : 1 ,
@@ -146,18 +134,6 @@ test('support completion in JSX', async () => {
146134 const resolved = await serverHandle . sendCompletionResolveRequest ( completion )
147135 assert . deepEqual ( resolved , {
148136 commitCharacters : [ '.' , ',' , ';' , '(' ] ,
149- data : {
150- fileName : fixturePath ( 'node16/completion.mdx' ) ,
151- offset : 119 ,
152- originalItem : { name : 'Boolean' } ,
153- uri : String (
154- URI . from ( {
155- scheme : 'volar-embedded-content' ,
156- authority : 'jsx' ,
157- path : '/' + encodeURIComponent ( fixtureUri ( 'node16/completion.mdx' ) )
158- } )
159- )
160- } ,
161137 detail : 'interface Boolean\nvar Boolean: BooleanConstructor' ,
162138 documentation : { kind : 'markdown' , value : '' } ,
163139 insertTextFormat : 1 ,
0 commit comments