test: add frontend composable tests and remaining test files

useNostr (9), useFightCache (5), useOnlineStatus (4) composable tests.
Added fake-indexeddb dev dependency for IDB tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-13 00:08:01 +00:00
co-authored by Claude Opus 4.6
parent 806163c6c5
commit 1c296c6f1c
6 changed files with 471 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@
"@testing-library/vue": "^8.1.0",
"@vitejs/plugin-vue": "^5.2.3",
"@vue/test-utils": "^2.4.6",
"fake-indexeddb": "^6.2.5",
"jsdom": "^28.1.0",
"tailwindcss": "^4.2.1",
"typescript": "^5.7.3",