Skip to content

Commit

Permalink
chore(e2e): add hygiene test
Browse files Browse the repository at this point in the history
  • Loading branch information
Br1ght0ne committed May 23, 2024
1 parent fca8b91 commit 7841c24
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions e2e/tests/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ pub fn null_contract_id() -> Bech32ContractId {
.unwrap()
}

mod hygiene {
#[tokio::test]
async fn setup_program_test_is_hygienic() {
fuels::prelude::setup_program_test!(
Wallets("wallet"),
Abigen(Contract(
name = "SimpleContract",
project = "e2e/sway/bindings/simple_contract"
)),
Deploy(
name = "simple_contract_instance",
contract = "SimpleContract",
wallet = "wallet"
),
);
}
}

#[tokio::test]
async fn compile_bindings_from_contract_file() {
setup_program_test!(
Expand Down

0 comments on commit 7841c24

Please sign in to comment.