bug(tests): MadaraBackend::open_for_testing fn unavailable to tests #293
Open
1 task done
Labels
bug
Something isn't working
Is there an existing issue?
Description of bug
Running certain tests results in compilation errors similar to:
This is related to the
testing
feature flag not being passed to the crate. One workaround is to add a testing feature to the given crate such as:And then run tests with this feature, e.g.:
Steps to reproduce
Run
cargo test -p mc-block-import
from the project root directory.Or attempt to run any tests in
verify_apply.rs
in VSCode.The text was updated successfully, but these errors were encountered: