mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-21 12:40:52 +00:00
- Tried `cargo doc` and seen methods generated. - Added test with a few method calls to the console operations.
10 lines
192 B
Rust
10 lines
192 B
Rust
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");
|
|
}
|