Skip to content

Commit 2f30add

Browse files
committed
More tests
1 parent 012ecda commit 2f30add

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/testRunner/unittests/tsserver/declarationFileMaps.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ namespace ts.projectSystem {
199199
}
200200

201201
function verifyUserTsConfigProject(session: TestSession) {
202-
checkProjectActualFiles(session.getProjectService().configuredProjects.get(userTsconfig.path)!, [userTs.path, aDts.path, userTsconfig.path]);
202+
checkProjectActualFiles(session.getProjectService().configuredProjects.get(userTsconfig.path)!, [userTs.path, aTs.path, userTsconfig.path]);
203203
}
204204

205205
it("goToDefinition", () => {
@@ -470,20 +470,20 @@ namespace ts.projectSystem {
470470
name: "function f(): void",
471471
},
472472
references: [
473+
makeReferenceEntry({
474+
file: aTs,
475+
text: "f",
476+
options: { index: 1 },
477+
contextText: "function f() {}",
478+
isDefinition: true
479+
}),
473480
{
474481
fileName: bTs.path,
475482
isDefinition: false,
476483
isInString: undefined,
477484
isWriteAccess: false,
478485
textSpan: { start: 0, length: 1 },
479486
},
480-
makeReferenceEntry({
481-
file: aTs,
482-
text: "f",
483-
options: { index: 1 },
484-
contextText: "function f() {}",
485-
isDefinition: true
486-
})
487487
],
488488
}
489489
]);

0 commit comments

Comments
 (0)