Closed
Description
🐛 Bug description
I ran wasm-pack test
without wasm-bindgen-test
installed, and got a message about wasm-bindgen
not being installed instead.
🤔 Expected Behavior
I should have received a warning about wasm-bindgen-test
not being installed. Instead I had to read through the detailed log below to figure out what was wrong, which is easier to miss.
👟 Steps to reproduce
Given the following Cargo.toml
[package]
name = "my_crate"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
failure = "0.1.2"
wasm-bindgen = "0.2.23"
[dependencies.web-sys]
version = "0.3.0"
features = [
"Document",
"EventTarget",
]
run
$ wasm-pack test
It will complain about wasm-bindgen
not existing, but the result will show that wasm-bindgen-test
is missing.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.5.0
rustc version: 1.30-nightly