Skip to content

Commit 2a0d5d1

Browse files
Fix tests
1 parent 87c5945 commit 2a0d5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/harness/unittests/tsserverProjectSystem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ namespace ts.projectSystem {
245245

246246
export function createSession(host: server.ServerHost, opts: Partial<server.SessionOptions> = {}) {
247247
if (opts.typingsInstaller === undefined) {
248-
opts.typingsInstaller = new TestTypingsInstaller("/a/data", /*throttleLimit*/ 5, host);
248+
opts.typingsInstaller = new TestTypingsInstaller("/a/data/", /*throttleLimit*/ 5, host);
249249
}
250250

251251
if (opts.eventHandler !== undefined) {
@@ -6532,7 +6532,7 @@ namespace ts.projectSystem {
65326532
const files = [file, packageJsonInCurrentDirectory, packageJsonOfPkgcurrentdirectory, indexOfPkgcurrentdirectory, typingsCachePackageJson];
65336533
const host = createServerHost(files, { currentDirectory });
65346534

6535-
const typesRegistry = createMap<void>();
6535+
const typesRegistry = createMap<MapLike<string>>();
65366536
typesRegistry.set("pkgcurrentdirectory", void 0);
65376537
const typingsInstaller = new TestTypingsInstaller(typingsCache, /*throttleLimit*/ 5, host, typesRegistry);
65386538

0 commit comments

Comments
 (0)