mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-31 03:51:56 +00:00
Fix js-sys and web-sys tests
This commit is contained in:
@@ -2,7 +2,7 @@ use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen_test::*;
|
||||
use web_sys::{HtmlButtonElement, HtmlFormElement, Node};
|
||||
|
||||
#[wasm_bindgen(module = "./tests/wasm/element.js")]
|
||||
#[wasm_bindgen(module = "/tests/wasm/element.js")]
|
||||
extern "C" {
|
||||
fn new_button() -> HtmlButtonElement;
|
||||
fn new_form() -> HtmlFormElement;
|
||||
|
Reference in New Issue
Block a user