We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee7236 commit 8b99fdcCopy full SHA for 8b99fdc
tests/wasm/main.rs
@@ -36,6 +36,7 @@ pub mod rethrow;
36
pub mod simple;
37
pub mod slice;
38
pub mod structural;
39
+pub mod truthy_falsy;
40
pub mod u64;
41
pub mod validate_prt;
42
pub mod variadic;
tests/wasm/truthy_falsy.rs
@@ -1,3 +1,6 @@
1
+use wasm_bindgen::prelude::*;
2
+use wasm_bindgen_test::*;
3
+
4
#[wasm_bindgen_test]
5
fn test_is_truthy() {
6
assert_eq!(JsValue::from(0).is_truthy(), false);
0 commit comments