Closer to finished

- Tried `cargo doc` and seen methods generated.
 - Added test with a few method calls to the console operations.
This commit is contained in:
Richard Dodd
2018-08-11 12:38:58 +01:00
parent 0d897e9b8d
commit a23fa03ad0
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,9 @@
use wasm_bindgen_test::*;
use wasm_bindgen::prelude::*;
use web_sys::console;
#[wasm_bindgen_test]
fn test_console() {
console::time("test label");
console::time_end("test label");
}

View File

@ -14,6 +14,7 @@ pub mod anchor_element;
pub mod body_element;
pub mod br_element;
pub mod button_element;
pub mod console;
pub mod div_element;
pub mod element;
pub mod event;