Add initial failing test for following to channel notes in an unshared project

This commit is contained in:
Max Brunsfeld 2023-09-19 18:03:38 -07:00
parent f34c6bd1ce
commit ed8b022b51
3 changed files with 102 additions and 9 deletions

View file

@ -206,11 +206,13 @@ impl TestServer {
let user_store = cx.add_model(|cx| UserStore::new(client.clone(), http, cx));
let channel_store =
cx.add_model(|cx| ChannelStore::new(client.clone(), user_store.clone(), cx));
let mut language_registry = LanguageRegistry::test();
language_registry.set_executor(cx.background());
let app_state = Arc::new(workspace::AppState {
client: client.clone(),
user_store: user_store.clone(),
channel_store: channel_store.clone(),
languages: Arc::new(LanguageRegistry::test()),
languages: Arc::new(language_registry),
fs: fs.clone(),
build_window_options: |_, _, _| Default::default(),
initialize_workspace: |_, _, _, _| Task::ready(Ok(())),