Skip to content

Commit

Permalink
test: add comment to help reviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Jun 20, 2024
1 parent f0f18cd commit 995cd12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/pop-contracts/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mod tests {
fn test_contract_e2e_test_set_env_variable() -> Result<(), Error> {
let temp_dir = tempfile::tempdir()?;
cmd("cargo", ["new", "test_contract", "--bin"]).dir(temp_dir.path()).run()?;
// Ignore 2e2 testing in this scenario, will fail. Only test if the environment variable CONTRACTS_NODE is set.
let err = test_e2e_smart_contract(&Some(temp_dir.path().join("test_contract")), &None);
assert!(err.is_err());
// The environment variable `CONTRACTS_NODE` should not be set.
Expand Down

0 comments on commit 995cd12

Please sign in to comment.