Added environment variable support to tests

This commit is contained in:
Ron Buckton
2016-03-21 11:58:34 -07:00
parent 02ebfa5d11
commit 92fbe6b231
3 changed files with 28 additions and 23 deletions
+4 -1
View File
@@ -568,6 +568,10 @@ namespace Harness.LanguageService {
return this.host.getCurrentDirectory();
}
getEnvironmentVariable(name: string): string {
return ts.sys.getEnvironmentVariable(name);
}
readDirectory(path: string, extension?: string): string[] {
throw new Error("Not implemented Yet.");
}
@@ -644,4 +648,3 @@ namespace Harness.LanguageService {
getPreProcessedFileInfo(fileName: string, fileContents: string): ts.PreProcessedFileInfo { throw new Error("getPreProcessedFileInfo is not available using the server interface."); }
}
}