Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Aug 30, 2024
1 parent f6a6e24 commit 284608b
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions packages/language-server/test/completion.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ test('support completion in ESM', async () => {
const resolved = await serverHandle.sendCompletionResolveRequest(completion)
assert.deepEqual(resolved, {
commitCharacters: ['.', ',', ';', '('],
data: {
fileName: fixturePath('node16/completion.mdx'),
offset: 81,
originalItem: {name: 'Boolean'},
uri: String(
URI.from({
scheme: 'volar-embedded-content',
authority: 'jsx',
path: '/' + encodeURIComponent(fixtureUri('node16/completion.mdx'))
})
)
},
detail: 'interface Boolean\nvar Boolean: BooleanConstructor',
documentation: {kind: 'markdown', value: ''},
insertTextFormat: 1,
Expand Down Expand Up @@ -146,18 +134,6 @@ test('support completion in JSX', async () => {
const resolved = await serverHandle.sendCompletionResolveRequest(completion)
assert.deepEqual(resolved, {
commitCharacters: ['.', ',', ';', '('],
data: {
fileName: fixturePath('node16/completion.mdx'),
offset: 119,
originalItem: {name: 'Boolean'},
uri: String(
URI.from({
scheme: 'volar-embedded-content',
authority: 'jsx',
path: '/' + encodeURIComponent(fixtureUri('node16/completion.mdx'))
})
)
},
detail: 'interface Boolean\nvar Boolean: BooleanConstructor',
documentation: {kind: 'markdown', value: ''},
insertTextFormat: 1,
Expand Down

0 comments on commit 284608b

Please sign in to comment.