use sauron::html::*; use sauron::*; use test_fixtures::simple_program; use wasm_bindgen_test::*; mod test_fixtures; wasm_bindgen_test_configure!(run_in_browser); /// this is an inefficient patch since the blank lines are matches /// causing the next good match to skip due to the there has been /// a previous match with bigger node_idx /// The solution is therefore to not put key to elements that /// are meant to be discarded and can easily be construcated #[wasm_bindgen_test] fn test1() { console_log::init_with_level(log::Level::Trace).ok(); console_error_panic_hook::set_once(); let current_dom: Node<()> = node!(