rspack_error
Testing
Prerequisite
- Install
cargo-insta
, more details reference https://crates.io/crates/cargo-insta
How
- Run
cargo test
. - If any updates related to diagnostic emitting, the testing maybe fail.
- Checking if the
fixtures.new.snap
is expected, if true then runcargo insta accept
, more document you could see https://github.com/mitsuhiko/insta. Else adjust you program logic then goto1