From 68b6ffffd7d04764c47ede34617d8f9920a84162 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 30 Jun 2026 08:50:50 -0400 Subject: [PATCH] docs(bugs): test-suite gap now seeded (harness + 19 tests) Co-Authored-By: Claude Opus 4.8 --- LOTUS_BUGS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LOTUS_BUGS.md b/LOTUS_BUGS.md index 3d1eadae5..a6a8fae89 100644 --- a/LOTUS_BUGS.md +++ b/LOTUS_BUGS.md @@ -99,7 +99,7 @@ Items from testing, with their fork-level fix path: ### Code Hygiene / DevEx -- **No automated test suite** (`src/`) — no unit/integration tests configured. +- **Automated test suite — seeded, expand coverage.** Harness now in place: `npm test` runs Node's built-in runner via `tsx` (not vitest — Vite 8 is ahead of vitest's range). 19 tests across `utils/common` + `utils/regex`. CI step is informational (`continue-on-error`) — promote to a hard gate when coverage is broader. **Next:** add suites for other pure-logic modules (search filters, ringtone gain math, mxc/url helpers), then component/integration tests. - **Extensive `as any` casts** across `src/` — gradual typing cleanup. - **`types/matrix/` mirrors SDK types** instead of importing them — drift risk. - **Hardcoded CDN URL** should move to an env var (the decoration CDN is now single-sourced in `avatarDecorations.ts`, but the literal is still in-repo).