Add wasm package

This commit is contained in:
Andras Schmelczer 2024-12-08 17:17:47 +00:00
parent 1e1934b492
commit e1ba3d44c7
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 71 additions and 0 deletions

View file

@ -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);
}