1 use wasm_bindgen::prelude::*; 2 use wasm_bindgen_test::*; 3 use web_sys::HtmlSpanElement; 4 5 #[wasm_bindgen(module = "/tests/wasm/element.js")] 6 extern "C" { new_span() -> HtmlSpanElement7 fn new_span() -> HtmlSpanElement; 8 } 9 10 #[wasm_bindgen_test] test_span_element()11fn test_span_element() { 12 let _element = new_span(); 13 assert!(true, "Span doesn't have an interface"); 14 } 15