You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use wasm_bindgen_futures::{spawn_local,JsFuture};use wasm_bindgen::prelude::*;use wasm_bindgen_test::*;wasm_bindgen_test_configure!(run_in_browser);#[wasm_bindgen_test]asyncfntest(){spawn_local(JsFuture::from(init_thread_pool(8)).map(|_| ()));
...}
and run the test with the following
wasm-pack test --firefox --release
but the webworkers don't seem to have been set up correctly (picture below) and my test just hang halfway — if i disable rayon in my code, the test will work
The text was updated successfully, but these errors were encountered:
Related to GoogleChromeLabs/wasm-bindgen-rayon#30, I tried to initalise thread pool in my wasm bindgen test with the following:
and run the test with the following
wasm-pack test --firefox --release
but the webworkers don't seem to have been set up correctly (picture below) and my test just hang halfway — if i disable rayon in my code, the test will work
The text was updated successfully, but these errors were encountered: