mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
consolidate E2E tests
This commit is contained in:
parent
1a5a2bbe8e
commit
9d7c753694
@ -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 =
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user