Skip to content

Commit 669e285

Browse files
committed
primitives - config - test ganache & production
make sure that both production & ganache configs are correct
1 parent 1d0973c commit 669e285

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

primitives/src/config.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,16 @@ pub fn configuration(
309309
},
310310
}
311311
}
312+
313+
#[cfg(test)]
314+
mod test {
315+
use super::{GANACHE_CONFIG, PRODUCTION_CONFIG};
316+
317+
/// Makes sure that both config files are correct and won't be left in a
318+
/// broken state.
319+
#[test]
320+
fn correct_config_files() {
321+
let _ganache = GANACHE_CONFIG.clone();
322+
let _production = PRODUCTION_CONFIG.clone();
323+
}
324+
}

0 commit comments

Comments
 (0)