Close workbench P0 resource lifecycle gaps
This commit is contained in:
@@ -605,6 +605,7 @@ mod tests {
|
||||
asset_id: Some("image".into()),
|
||||
},
|
||||
],
|
||||
root_uri: None,
|
||||
},
|
||||
state: FileTreeRuntimeState::default(),
|
||||
action: FileTreeRuntimeAction::SelectRow {
|
||||
@@ -645,6 +646,7 @@ mod tests {
|
||||
asset_id: Some("image".into()),
|
||||
},
|
||||
],
|
||||
root_uri: None,
|
||||
},
|
||||
state: FileTreeRuntimeState {
|
||||
selection: FileTreeSelectionState::from_selected(&["asset:image".to_string()]),
|
||||
@@ -688,6 +690,7 @@ mod tests {
|
||||
asset_id: Some("image".into()),
|
||||
},
|
||||
],
|
||||
root_uri: None,
|
||||
},
|
||||
state: FileTreeRuntimeState::default(),
|
||||
action: FileTreeRuntimeAction::UpdateDropTarget {
|
||||
@@ -726,6 +729,7 @@ mod tests {
|
||||
asset_id: Some("image".into()),
|
||||
},
|
||||
],
|
||||
root_uri: None,
|
||||
},
|
||||
state: FileTreeRuntimeState {
|
||||
drag_row_ids: ids(&["asset:image"]),
|
||||
@@ -774,6 +778,7 @@ mod tests {
|
||||
document_id: Some("root".into()),
|
||||
asset_id: None,
|
||||
}],
|
||||
root_uri: None,
|
||||
},
|
||||
state: FileTreeRuntimeState::default(),
|
||||
action: FileTreeRuntimeAction::DispatchExternalDrop {
|
||||
|
||||
Reference in New Issue
Block a user