Skip to content

Commit 7f87f07

Browse files
authored
Merge pull request #64 from collinsmuriuki/conditional-compiling-for-tests
Conditional compiling for tests
2 parents 67f7175 + 57f3823 commit 7f87f07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/mpesa-rust/main.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
#[cfg(test)]
12
mod account_balance_test;
3+
#[cfg(test)]
24
mod b2b_test;
5+
#[cfg(test)]
36
mod b2c_test;
7+
#[cfg(test)]
48
mod c2b_register_test;
9+
#[cfg(test)]
510
mod c2b_simulate_test;
11+
#[cfg(test)]
612
mod helpers;
13+
#[cfg(test)]
714
mod stk_push_test;
15+
#[cfg(test)]
816
mod transaction_reversal_test;
17+
#[cfg(test)]
918
mod transaction_status_test;

0 commit comments

Comments
 (0)