Skip to content

Commit 26fc1b7

Browse files
committed
print fixture names snapshot tests
1 parent 801dede commit 26fc1b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates
    • vite_task_bin/tests/e2e_snapshots
    • vite_task_plan/tests/plan_snapshots

crates/vite_task_bin/tests/e2e_snapshots/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn run_case(tmpdir: &AbsolutePath, fixture_path: &Path, filter: Option<&str>) {
8989
return;
9090
}
9191
}
92-
92+
println!("{}", fixture_name);
9393
// Configure insta to write snapshots to fixture directory
9494
let mut settings = insta::Settings::clone_current();
9595
settings.set_snapshot_path(fixture_path.join("snapshots"));

crates/vite_task_plan/tests/plan_snapshots/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fn run_case(runtime: &Runtime, tmpdir: &AbsolutePath, fixture_path: &Path, filte
3737
return;
3838
}
3939
}
40-
40+
println!("{}", fixture_name);
4141
// Configure insta to write snapshots to fixture directory
4242
let mut settings = insta::Settings::clone_current();
4343
settings.set_snapshot_path(fixture_path.join("snapshots"));

0 commit comments

Comments
 (0)