Files
buzz/desktop
Logan Johnson 4d83496d61 test(desktop): pin the status expiry clock with setFixedTime
clock.install({ time }) only sets the fake clock's epoch: fake time keeps
flowing with real time, so the seeded two-second status could still
expire during popover/editor setup on a slow machine — a 3s real delay
before opening the editor reproduces the original fresh-editor failure.
clock.setFixedTime pins Date.now() while timers, network, and rendering
keep running (the same idiom as the channels.spec.ts ephemeral-countdown
test), so the saved editor preconditions hold regardless of setup
duration. Expiry is crossed deliberately by advancing the pinned date
past the deadline and firing the pending timer with fastForward; the
expired-before-opening control test crosses the same deadline before
opening.

Signed-off-by: Logan Johnson <loganj@squareup.com>
2026-09-09 23:45:38 -04:00
..
…

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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