Testing
Unit, plugin fixture, lint, typecheck, and Storybook checks.
Every check runs from the repository root and needs nothing beyond Bun. None of them touch a real messaging account or a real provider.
The checks#
bun run test
bun run test:plugins
bun run lint
bun run typecheck
bun run check
bun run storybookWhich runner does what#
| Area | Runner | Notes |
|---|---|---|
| Server | bun test | Bun’s own runner, with bun:test mocks. |
| Mobile unit | bunx jest | Jest — bun test cannot parse React Native’s Flow syntax. |
| Mobile web e2e | Playwright | Runs against MOCK_BRIDGE=true. |
| Plugins | bun test | Local fixtures only; must never call a real provider. |