MCPcopy Create free account
hub / github.com/aeroxy/chrome-devtools-cli / empty_tab_state_is_not_stashed

Function empty_tab_state_is_not_stashed

src/cdp.rs:1001–1008  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

999
1000 #[test]
1001 fn empty_tab_state_is_not_stashed() {
1002 let mut saved = std::collections::HashMap::new();
1003 stash_tab_emulation(&mut saved, "A".to_string(), TabEmulation::default());
1004 assert!(
1005 !saved.contains_key("A"),
1006 "an empty tab must not create a map entry"
1007 );
1008 }
1009}

Callers

nothing calls this directly

Calls 1

stash_tab_emulationFunction · 0.85

Tested by

no test coverage detected