Skip to content

Commit 9e122d0

Browse files
committed
Fix test
1 parent bd3a27e commit 9e122d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/harness/unittests/typingsInstaller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ namespace ts.projectSystem {
10091009
installer.installAll(/*expectedCount*/ 1);
10101010
});
10111011

1012-
it("cached unresolved typings are not recomputed if program structure did not change", () => {
1012+
it("should recompute resolutions after typings are installed", () => {
10131013
const host = createServerHost([]);
10141014
const session = createSession(host);
10151015
const f = {
@@ -1051,7 +1051,7 @@ namespace ts.projectSystem {
10511051
session.executeCommand(changeRequest);
10521052
host.checkTimeoutQueueLengthAndRun(2); // This enqueues the updategraph and refresh inferred projects
10531053
const version2 = proj.getCachedUnresolvedImportsPerFile_TestOnly().getVersion();
1054-
assert.equal(version1, version2, "set of unresolved imports should not change");
1054+
assert.notEqual(version1, version2, "set of unresolved imports should change");
10551055
});
10561056
});
10571057

0 commit comments

Comments
 (0)