tests: Add browser WASM tests for evm_client
This commit is contained in:
		| @@ -65,6 +65,19 @@ This document outlines the steps and requirements to guarantee that both native | ||||
|  | ||||
| --- | ||||
|  | ||||
| ## Browser (WASM) Testing for evm_client | ||||
|  | ||||
| To run browser-based tests for `evm_client`: | ||||
|  | ||||
| ```sh | ||||
| cd evm_client | ||||
| wasm-pack test --headless --firefox | ||||
| # or | ||||
| wasm-pack test --headless --chrome | ||||
| ``` | ||||
|  | ||||
| This will compile your crate to WASM and run the tests in a real browser environment. | ||||
|  | ||||
| ## 6. Checklist for Compliance | ||||
| - [ ] No unconditional `tokio` usage in library code | ||||
| - [ ] All dependencies are WASM-compatible (where needed) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user