(snapshot: &Value)
| 238 | } |
| 239 | |
| 240 | fn cacheable_accessibility_snapshot(snapshot: &Value) -> bool { |
| 241 | snapshot.get("fallbackReason").is_none() |
| 242 | } |
| 243 | |
| 244 | fn cached_depth_covers(cached: Option<usize>, requested: Option<usize>) -> bool { |
| 245 | match (cached, requested) { |
no test coverage detected