mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Add wasm-pack metadata * Add Wasm tests directory * Add basic Cargo manifest metadata * Make web frontend unpublishable to npm
10 lines
165 B
Rust
10 lines
165 B
Rust
#![cfg(target_arch = "wasm32")]
|
|
|
|
use wasm_bindgen_test::*;
|
|
|
|
wasm_bindgen_test_configure!(run_in_browser);
|
|
|
|
#[wasm_bindgen_test]
|
|
fn pass() {
|
|
assert_eq!(1 + 1, 2);
|
|
}
|