Area: apps/web/src/features/settings/store/preferences-store.ts
Goal: Lock down slippage tolerance and user preference transitions.
Tasks:
- Test default slippage, custom value, and invalid/out-of-range input.
- Test persistence and rehydration from storage.
- Keep tests pure and deterministic.
Acceptance:
- Store state and storage do not leak between tests.
bun run --cwd apps/web test passes.
Area:
apps/web/src/features/settings/store/preferences-store.tsGoal: Lock down slippage tolerance and user preference transitions.
Tasks:
Acceptance:
bun run --cwd apps/web testpasses.