Skip to content

Commit 1317153

Browse files
committed
Fix the errors in branch after port of #17469
1 parent c9f8d90 commit 1317153

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
@@ -2361,11 +2361,11 @@ namespace ts.projectSystem {
23612361
const configProject = projectService.configuredProjects[0];
23622362
checkProjectActualFiles(configProject, [libFile.path]);
23632363

2364-
const diagnostics = configProject.getProjectErrors();
2364+
const diagnostics = configProject.getAllProjectErrors();
23652365
assert.equal(diagnostics[0].code, Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code);
23662366

23672367
host.reloadFS([libFile, site]);
2368-
host.triggerFileWatcherCallback(configFile.path);
2368+
host.triggerFileWatcherCallback(configFile.path, FileWatcherEventKind.Deleted);
23692369

23702370
knownProjects = projectService.synchronizeProjectList(map(knownProjects, proj => proj.info));
23712371
checkNumberOfProjects(projectService, { configuredProjects: 0, externalProjects: 0, inferredProjects: 0 });

0 commit comments

Comments
 (0)