From 925180e2dcb2b95cb2777a75e1491499c0d69936 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 5 Apr 2024 16:40:12 -0500 Subject: Add rust Signed-off-by: Matt Strapp --- libs/zora-rs/tests/web.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libs/zora-rs/tests/web.rs (limited to 'libs/zora-rs/tests') diff --git a/libs/zora-rs/tests/web.rs b/libs/zora-rs/tests/web.rs new file mode 100644 index 0000000..de5c1da --- /dev/null +++ b/libs/zora-rs/tests/web.rs @@ -0,0 +1,13 @@ +//! Test suite for the Web and headless browsers. + +#![cfg(target_arch = "wasm32")] + +extern crate wasm_bindgen_test; +use wasm_bindgen_test::*; + +wasm_bindgen_test_configure!(run_in_browser); + +#[wasm_bindgen_test] +fn pass() { + assert_eq!(1 + 1, 2); +} -- cgit v1.2.3