Open ltfschoen opened 1 year ago
Usage:
cd examples/npm_lib nvm use yarn yarn run esbuild RUST_LOG=info trunk serve --address=127.0.0.1 --open
cargo test --target wasm32-unknown-unknown
yarn run esbuild
#[allow(???)]
wasm_bindgen_test
Usage:
cargo test --target wasm32-unknown-unknown
ISSUES
yarn run esbuild
Perhaps I need a#[allow(???)]
https://doc.rust-lang.org/rustc/lints/listing/index.htmlwasm_bindgen_test
it says "One other difference is that the tests must be in the root of the crate, or within a pub mod" and the implementation is in src/