diff --git a/src/testUtils.ts b/src/testUtils.ts index dddf6cabf..633416a9b 100644 --- a/src/testUtils.ts +++ b/src/testUtils.ts @@ -81,8 +81,8 @@ export function getTestEnvVars(config: vscode.WorkspaceConfiguration): any { } } - Object.keys(testEnvConfig).forEach(key => envVars[key] = typeof testEnvConfig[key] === 'string' ? resolvePath(testEnvConfig[key]) : testEnvConfig[key]); Object.keys(fileEnv).forEach(key => envVars[key] = typeof fileEnv[key] === 'string' ? resolvePath(fileEnv[key]) : fileEnv[key]); + Object.keys(testEnvConfig).forEach(key => envVars[key] = typeof testEnvConfig[key] === 'string' ? resolvePath(testEnvConfig[key]) : testEnvConfig[key]); return envVars; }