From 47066b96464e1dc35b39d657888155a58542cf08 Mon Sep 17 00:00:00 2001 From: ImpulseB23 Date: Sat, 18 Apr 2026 00:06:55 +0200 Subject: [PATCH] chore: remove accidentally committed commit-message scratch file --- .git-msg.txt | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .git-msg.txt diff --git a/.git-msg.txt b/.git-msg.txt deleted file mode 100644 index 4d1dcab..0000000 --- a/.git-msg.txt +++ /dev/null @@ -1,16 +0,0 @@ -refactor(auth): split AuthState into auth_state.rs for unit testing - -Tauri command bodies can't be unit-tested without spinning up a Tauri -runtime + WebView2 host (mock_runtime crashes with STATUS_ENTRYPOINT_NOT_FOUND -on Windows). Standard pattern: keep #[tauri::command] functions as thin -adapters and put all branchable logic in a separately-testable module. - -- Move AuthState, AuthStatus, DeviceCodeView, AuthCommandError, and the - From impl into twitch_auth/auth_state.rs along with all - unit tests (now reach 91.79% coverage on that file). -- commands.rs is now ~50 lines of pure adapter delegation. Added to - codecov ignore list alongside lib.rs and main.rs (same rationale: - Tauri framework wiring without testable branches). -- mod.rs re-exports updated; no external API change. - -123 lib tests still pass, clippy clean.