This test is used to ensure opendal can run on WASM target.
Start the S3 server at http://127.0.0.1:9900
We are using the following config values, please feel free to change based on your own needs.
let mut cfg = S3::default(); cfg.endpoint("http://127.0.0.1:9900"); cfg.access_key_id("minioadmin"); cfg.secret_access_key("minioadmin"); cfg.bucket("opendal"); cfg.region("us-east-1");
cargo install wasm-pack
wasm-pack build
NOTE:
wasm-pack test --chrome