Fixed failing test, now to make breadcrumbs scrollable...
This commit is contained in:
parent
1f161b9aa1
commit
f473eadf2d
3 changed files with 8 additions and 5 deletions
|
@ -927,6 +927,9 @@ impl From<&dyn NotificationHandle> for AnyViewHandle {
|
|||
impl AppState {
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn test(cx: &mut MutableAppContext) -> Arc<Self> {
|
||||
use fs::HomeDir;
|
||||
|
||||
cx.set_global(HomeDir(Path::new("/tmp/").to_path_buf()));
|
||||
let settings = Settings::test(cx);
|
||||
cx.set_global(settings);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue