aboutsummaryrefslogtreecommitdiffstats
path: root/libs/zora-rs/tests
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
commit925180e2dcb2b95cb2777a75e1491499c0d69936 (patch)
treec01a7936f87dc3ce82ce8734ee9c2381f2aa8029 /libs/zora-rs/tests
parentBump typescript from 5.4.3 to 5.4.4 (diff)
downloadzorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.gz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.bz2
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.lz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.xz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.zst
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.zip
Add rust
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--libs/zora-rs/tests/web.rs13
1 files changed, 13 insertions, 0 deletions
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);
+}