use sauron::*; use test_fixtures::simple_program; use wasm_bindgen_test::*; mod test_fixtures; #[test] fn simple() { let html: Node<()> = html::fragment([div([], []), span([], [])]); let expected = "
"; assert_eq!(html.render_to_string(), expected); } wasm_bindgen_test_configure!(run_in_browser); #[wasm_bindgen_test] fn test_on_client() { let mut simple_program = simple_program(); let input = node! {