Skip to content

Commit 37f26cb

Browse files
committed
add missing methods
1 parent 27deb31 commit 37f26cb

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/harness/harnessLanguageService.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,10 @@ namespace Harness.LanguageService {
646646
return true;
647647
}
648648

649+
getLogFileName(): string {
650+
return undefined;
651+
}
652+
649653
hasLevel() {
650654
return false;
651655
}

src/harness/unittests/cachingInServerLSHost.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ namespace ts {
8181
info: (s: string) => { },
8282
startGroup: () => { },
8383
endGroup: () => { },
84-
msg: (s: string, type?: string) => { }
84+
msg: (s: string, type?: string) => { },
85+
getLogFileName: (): string => undefined
8586
};
8687

8788
const projectService = new server.ProjectService(serverHost, logger, { isCancellationRequested: () => false }, /*useOneInferredProject*/ false, /*typingsInstaller*/ undefined);

src/harness/unittests/session.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ namespace ts.server {
3636
startGroup(): void {},
3737
endGroup(): void {},
3838
msg(s: string, type?: string): void {},
39+
getLogFileName: (): string => undefined
3940
};
4041

4142
describe("the Session class", () => {

src/harness/unittests/tsserverProjectSystem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ namespace ts {
1414
info: () => void 0,
1515
startGroup: () => void 0,
1616
endGroup: () => void 0,
17-
msg: () => void 0
17+
msg: () => void 0,
18+
getLogFileName: (): string => undefined
1819
};
1920

2021
const nullCancellationToken: HostCancellationToken = {

0 commit comments

Comments
 (0)