reworked ProjectState to include additional context

This commit is contained in:
KCaverly 2023-08-22 11:58:48 +02:00
parent 3d89cd10a4
commit ced2b2aec3
4 changed files with 146 additions and 13 deletions

View file

@ -86,6 +86,13 @@ async fn test_semantic_index(cx: &mut TestAppContext) {
.unwrap();
let project = Project::test(fs.clone(), ["/the-root".as_ref()], cx).await;
store
.update(cx, |store, cx| {
store.initialize_project(project.clone(), cx)
})
.await;
let (file_count, outstanding_file_count) = store
.update(cx, |store, cx| store.index_project(project.clone(), cx))
.await