mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
241 stars 26 forks source link

test(commands): fix tests when run with `cargo test` #207

Closed beeb closed 1 month ago

beeb commented 1 month ago

The tests for the push command were changing the current directory which lead to race conditions when run with cargo test. cargo-nextest does not seem to suffer from this.

The fix is to only do this changing of the current dir in one test, and all other tests have a path specified in the cli args.