reworked ProjectState to include additional context
This commit is contained in:
parent
3d89cd10a4
commit
ced2b2aec3
4 changed files with 146 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue