Skip to content

Commit d16a016

Browse files
committed
fix: Fix tests by removing additional features
1 parent 846fb58 commit d16a016

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/tests/infrastructure.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from 'vscode-languageserver/lib/common/api'
88
import pDefer, { TestInfrastructure, waitClientNotification, waitClientRequest } from './tools'
99
import { GetTextDocumentParams, getTextDocumentRequestType, GetTextDocumentResult, SaveTextDocumentParams, saveTextDocumentRequestType } from '../customRequests'
10-
import { createLanguageClientManager, LanguageClientId, LanguageClientManager } from '..'
10+
import { createLanguageClientManager, LanguageClientId, LanguageClientManager, getLanguageClientOptions } from '..'
1111

1212
async function initializeLanguageClientAndGetConnection (
1313
languageClientId: LanguageClientId,
@@ -17,7 +17,10 @@ async function initializeLanguageClientAndGetConnection (
1717
): Promise<[LanguageClientManager, _Connection<_, _, _, _, _, _, _>]> {
1818
const infrastructure = new TestInfrastructure(automaticTextDocumentUpdate, useMutualizedProxy)
1919

20-
const languageClient = createLanguageClientManager(languageClientId, infrastructure)
20+
const languageClient = createLanguageClientManager(languageClientId, infrastructure, {
21+
...getLanguageClientOptions(languageClientId),
22+
createAdditionalFeatures: undefined
23+
})
2124
const startPromise = languageClient.start()
2225

2326
const connection = await infrastructure.getConnection()

0 commit comments

Comments
 (0)