feat: add unit tests (Rust parser+DB, Vitest frontend) and test workflow

This commit is contained in:
2026-04-25 15:11:25 +02:00
parent b42674b22c
commit 8fd71de1aa
15 changed files with 689 additions and 5 deletions

View File

@ -14,7 +14,7 @@ function useWindowWidth() {
return width;
}
function combatIcon(name: string): string {
export function combatIcon(name: string): string {
const l = name.toLowerCase();
if (l === "solo") return "🗡️";
if (l === "groupe") return "⚔️";