mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-19 11:40:51 +00:00
Migrate most `web-sys` tests to the new `wasm_bindgen_test` framework with the new headless browser capabilities!
14 lines
318 B
Rust
14 lines
318 B
Rust
#![cfg(not(target_arch = "wasm32"))]
|
|
|
|
extern crate wasm_bindgen_test_project_builder as project_builder;
|
|
use project_builder::{project, Project};
|
|
|
|
mod event;
|
|
|
|
fn websys_project() -> Project {
|
|
project()
|
|
.add_local_dependency("web-sys", env!("CARGO_MANIFEST_DIR"))
|
|
.headless(true)
|
|
.clone()
|
|
}
|