@@ -10,12 +10,12 @@ test('Unknown languages do not provide completions', async ({ expect }) => {
10
10
text : '<div class="bg-[#000]">' ,
11
11
} )
12
12
13
- let res = await c . sendRequest ( HoverRequest . type , {
13
+ let hover = await c . sendRequest ( HoverRequest . type , {
14
14
textDocument,
15
15
position : { line : 0 , character : 13 } ,
16
16
} )
17
17
18
- expect ( res ) . toEqual ( null )
18
+ expect ( hover ) . toEqual ( null )
19
19
} )
20
20
21
21
test ( 'Custom languages may be specified via init options (deprecated)' , async ( { expect } ) => {
@@ -30,12 +30,12 @@ test('Custom languages may be specified via init options (deprecated)', async ({
30
30
text : '<div class="bg-[#000]">' ,
31
31
} )
32
32
33
- let res = await c . sendRequest ( HoverRequest . type , {
33
+ let hover = await c . sendRequest ( HoverRequest . type , {
34
34
textDocument,
35
35
position : { line : 0 , character : 13 } ,
36
36
} )
37
37
38
- expect ( res ) . toEqual ( {
38
+ expect ( hover ) . toEqual ( {
39
39
contents : {
40
40
language : 'css' ,
41
41
value :
@@ -61,12 +61,12 @@ test('Custom languages may be specified via settings', async ({ expect }) => {
61
61
text : '<div class="bg-[#000]">' ,
62
62
} )
63
63
64
- let res = await c . sendRequest ( HoverRequest . type , {
64
+ let hover = await c . sendRequest ( HoverRequest . type , {
65
65
textDocument,
66
66
position : { line : 0 , character : 13 } ,
67
67
} )
68
68
69
- expect ( res ) . toEqual ( {
69
+ expect ( hover ) . toEqual ( {
70
70
contents : {
71
71
language : 'css' ,
72
72
value :
@@ -96,7 +96,7 @@ test('Custom languages are merged from init options and settings', async ({ expe
96
96
text : '<div class="bg-[#000]">' ,
97
97
} )
98
98
99
- let res = await c . sendRequest ( HoverRequest . type , {
99
+ let hover = await c . sendRequest ( HoverRequest . type , {
100
100
textDocument,
101
101
position : { line : 0 , character : 13 } ,
102
102
} )
@@ -106,12 +106,12 @@ test('Custom languages are merged from init options and settings', async ({ expe
106
106
text : '<div class="bg-[#000]">' ,
107
107
} )
108
108
109
- let res2 = await c . sendRequest ( HoverRequest . type , {
109
+ let hover2 = await c . sendRequest ( HoverRequest . type , {
110
110
textDocument,
111
111
position : { line : 0 , character : 13 } ,
112
112
} )
113
113
114
- expect ( res ) . toEqual ( {
114
+ expect ( hover ) . toEqual ( {
115
115
contents : {
116
116
language : 'css' ,
117
117
value :
@@ -120,7 +120,7 @@ test('Custom languages are merged from init options and settings', async ({ expe
120
120
range : { start : { line : 0 , character : 12 } , end : { line : 0 , character : 21 } } ,
121
121
} )
122
122
123
- expect ( res2 ) . toEqual ( {
123
+ expect ( hover2 ) . toEqual ( {
124
124
contents : {
125
125
language : 'css' ,
126
126
value :
@@ -150,12 +150,12 @@ test('Language mappings from settings take precedence', async ({ expect }) => {
150
150
text : '<div class="bg-[#000]">' ,
151
151
} )
152
152
153
- let res = await c . sendRequest ( HoverRequest . type , {
153
+ let hover = await c . sendRequest ( HoverRequest . type , {
154
154
textDocument,
155
155
position : { line : 0 , character : 13 } ,
156
156
} )
157
157
158
- expect ( res ) . toEqual ( {
158
+ expect ( hover ) . toEqual ( {
159
159
contents : {
160
160
language : 'css' ,
161
161
value :
0 commit comments