fix view tests
[?]
Jul 16, 2025, 5:36 PM
Z3GSXIORBCRKA4EHUTQ65NHOZNKKM4PAUHGD3L45PUN5HRKHP6EACDependencies
- [2]
OPXFZKEBview tests setup - [3]
XSZZB47Urefactor stuff into lib - [4]
I56UGW7Umake record test, fix log update - [5]
XIASAP3Gclippy - [*]
6YZAVBWUInitial commit
Change contents
- edit in justfile at line 68
TEST_KIND="{{kind}}" \ - replacement in inflorescence_view/bin/view_test_setup.rs at line 18
let dir = PathBuf::from(CRATE_DIR).join(PREVIEW_DIR);let _res = fs::remove_dir_all(&dir);fs::create_dir_all(&dir).unwrap();for entry in fs::read_dir(&dir).unwrap() {let dst_dir = PathBuf::from(CRATE_DIR).join(PREVIEW_DIR);let src_dir = PathBuf::from(CRATE_DIR).join(SCREENSHOTS_DIR);let _res = fs::remove_dir_all(&dst_dir);fs::create_dir_all(&dst_dir).unwrap();for entry in fs::read_dir(&src_dir).unwrap() { - replacement in inflorescence_view/bin/view_test_setup.rs at line 29
fs::copy(entry.path(), dir.join(entry.file_name()))fs::copy(entry.path(), dst_dir.join(entry.file_name())) - replacement in inflorescence_view/bin/view_test_setup.rs at line 33
print_screenshot_target(&dir);print_screenshot_target(&dst_dir);