Skip to content

Commit 284608b

Browse files
committed
Fix broken tests
1 parent f6a6e24 commit 284608b

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

packages/language-server/test/completion.test.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)