refactor: reorganize source and tests

This commit is contained in:
objz committed 2026-07-27 11:28:57 +02:00
1 parent 15d76c18a0
commit c6205a337c
139 files changed
+5532 -5548

No files matched your search

+2 -4
View File
@@ -1,5 +1,5 @@
use super::*;
use crate::tui::tests::UI_TEST_LOCK;
use crate::tests::TEST_LOCK;
use chrono::Utc;
use crossterm::event::KeyModifiers;
@@ -283,9 +283,7 @@ fn discovery_delete_only_clears_the_matching_installed_badge() {
#[test]
fn successful_install_marks_the_project_and_closes_the_popup() {
let _guard = UI_TEST_LOCK
.lock()
.unwrap_or_else(|error| error.into_inner());
let _guard = TEST_LOCK.lock().unwrap_or_else(|error| error.into_inner());
let project = DiscoveryProject {
id: "project".to_owned(),
slug: "project".to_owned(),