Skip to content

How do I use a dependency just for tests? #34

Answered by banool
banool asked this question in Questions
Discussion options

You must be logged in to vote

Close! You can do it like this:

#[test_only]
use aptos_framework::aptos_account;

Replies: 1 comment

Comment options

banool
Mar 7, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by banool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Questions related to testing
1 participant