consolidate E2E tests

This commit is contained in:
evan-schott 2023-12-06 14:33:07 -08:00
parent 1a5a2bbe8e
commit 9d7c753694
2 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,7 @@ mod tests {
type CurrentNetwork = Testnet3; type CurrentNetwork = Testnet3;
#[test] #[test]
#[ignore]
fn credits_test() { fn credits_test() {
create_session_if_not_set_then(|_| { create_session_if_not_set_then(|_| {
let program = Program::<CurrentNetwork>::credits(); let program = Program::<CurrentNetwork>::credits();
@ -86,6 +87,7 @@ mod tests {
}); });
} }
#[test] #[test]
#[ignore]
fn array_test() { fn array_test() {
create_session_if_not_set_then(|_| { create_session_if_not_set_then(|_| {
let program_from_file = let program_from_file =

View File

@ -377,6 +377,7 @@ mod tests {
use leo_span::symbol::create_session_if_not_set_then; use leo_span::symbol::create_session_if_not_set_then;
#[test] #[test]
#[ignore]
fn temp_dir_test() { fn temp_dir_test() {
// Set $HOME to tmp directory so that tests do not modify users real home directory // Set $HOME to tmp directory so that tests do not modify users real home directory
let original_home = env::var("HOME").unwrap(); let original_home = env::var("HOME").unwrap();
@ -394,6 +395,7 @@ mod tests {
env::set_var("HOME", original_home); env::set_var("HOME", original_home);
} }
#[test] #[test]
#[ignore]
fn simple_dir_test() { fn simple_dir_test() {
// Set $HOME to tmp directory so that tests do not modify users real home directory // Set $HOME to tmp directory so that tests do not modify users real home directory
let original_home = env::var("HOME").unwrap(); let original_home = env::var("HOME").unwrap();