@@ -8,7 +8,7 @@ import packageJson from '../../package.json'
88import { downloadAndUnzipVSCode , resolveCliArgsFromVSCodeExecutablePath } from '@vscode/test-electron'
99import { join , resolve } from 'path'
1010import { runTests } from '@vscode/test-electron'
11- import { VSCODE_EXTENSION_ID } from '../../src/shared/extensions '
11+ import { VSCODE_EXTENSION_ID_CONSTANTS } from '../../src/shared/extensionIds '
1212import { TestOptions } from '@vscode/test-electron/out/runTest'
1313
1414const envvarVscodeTestVersion = 'VSCODE_TEST_VERSION'
@@ -79,14 +79,14 @@ async function getVSCodeCliArgs(params: {
7979 if ( params . suite === 'integration' || params . suite === 'e2e' ) {
8080 disableExtensionsArgs = await getCliArgsToDisableExtensions ( params . vsCodeExecutablePath , {
8181 except : [
82- VSCODE_EXTENSION_ID . python ,
83- VSCODE_EXTENSION_ID . yaml ,
84- VSCODE_EXTENSION_ID . jupyter ,
85- VSCODE_EXTENSION_ID . go ,
86- VSCODE_EXTENSION_ID . java ,
87- VSCODE_EXTENSION_ID . javadebug ,
88- VSCODE_EXTENSION_ID . git ,
89- VSCODE_EXTENSION_ID . remotessh ,
82+ VSCODE_EXTENSION_ID_CONSTANTS . python ,
83+ VSCODE_EXTENSION_ID_CONSTANTS . yaml ,
84+ VSCODE_EXTENSION_ID_CONSTANTS . jupyter ,
85+ VSCODE_EXTENSION_ID_CONSTANTS . go ,
86+ VSCODE_EXTENSION_ID_CONSTANTS . java ,
87+ VSCODE_EXTENSION_ID_CONSTANTS . javadebug ,
88+ VSCODE_EXTENSION_ID_CONSTANTS . git ,
89+ VSCODE_EXTENSION_ID_CONSTANTS . remotessh . id ,
9090 ] ,
9191 } )
9292 disableWorkspaceTrustArg = [ disableWorkspaceTrust ]
@@ -160,11 +160,11 @@ async function setupVSCodeTestInstance(suite: SuiteName): Promise<string> {
160160
161161 // Only certain test suites require specific vscode extensions to be installed
162162 if ( suite === 'e2e' || suite === 'integration' ) {
163- await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID . python )
164- await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID . yaml )
165- await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID . go )
166- await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID . java )
167- await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID . javadebug )
163+ await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID_CONSTANTS . python )
164+ await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID_CONSTANTS . yaml )
165+ await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID_CONSTANTS . go )
166+ await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID_CONSTANTS . java )
167+ await installVSCodeExtension ( vsCodeExecutablePath , VSCODE_EXTENSION_ID_CONSTANTS . javadebug )
168168 }
169169
170170 console . log ( 'VS Code Test instance has been set up' )
0 commit comments