mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
Extract makeTimerBed() helpers in wholeBlobSync.shared.test.mjs and channelSectionsSync.test.mjs, eliminating 18-22 line inline timer factory blocks repeated across 9 tests. Collapse the A-succeeds/A-fails CAS variants in mergeLaneSync.shared and the 4 bootstrap seed-guard tests in both mergeLaneSync.shared and wholeBlobSync.shared into parameterized for-loops. No behavioral coverage removed; only structural duplication eliminated. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition