We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706c1e2 commit 650b2d2Copy full SHA for 650b2d2
src/harness/unittests/cachingInServerLSHost.ts
@@ -118,7 +118,7 @@ namespace ts {
118
{
119
let fileExistsIsCalled = false;
120
serverHost.fileExists = (fileName): boolean => {
121
- if (fileName === "lib.d.ts") {
+ if (Harness.isDefaultLibraryFile(fileName)) {
122
return false;
123
}
124
fileExistsIsCalled = true;
@@ -142,7 +142,7 @@ namespace ts {
142
143
let fileExistsCalled = false;
144
145
146
147
148
fileExistsCalled = true;
0 commit comments