Skip to content

Commit d9ae52c

Browse files
committed
Update tests
1 parent 7091edc commit d9ae52c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/harness/fakesHosts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ namespace fakes {
9595
}
9696

9797
public readDirectory(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[] {
98-
return ts.matchFiles(path, extensions, exclude, include, this.useCaseSensitiveFileNames, this.getCurrentDirectory(), depth, path => this.getAccessibleFileSystemEntries(path), path => this.realpath(path));
98+
return ts.matchFiles(path, extensions, exclude, include, this.useCaseSensitiveFileNames, this.getCurrentDirectory(), depth, path => this.getAccessibleFileSystemEntries(path), path => this.realpath(path), path => this.directoryExists(path));
9999
}
100100

101101
public getAccessibleFileSystemEntries(path: string): ts.FileSystemEntries {

src/harness/virtualFileSystemWithWatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ interface Array<T> { length: number; [n: number]: T; }`
922922
});
923923
}
924924
return { directories, files };
925-
}, path => this.realpath(path));
925+
}, path => this.realpath(path), path => this.directoryExists(path));
926926
}
927927

928928
createHash(s: string): string {

0 commit comments

Comments
 (0)