You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0443143
Browse filesBrowse the repository at this point in the historyBrowse files
QuantCode Agent
committed
fix: repair DOM test harness, hook rename, date padding, a11y label and sort closure
- bunfig.toml: preload happy-dom setup from repo root (the 'environment'
key is not a real Bun option and was silently ignored, so bare
'bun test' had no DOM). Fixes 9 'document is not defined' failures.
- apps/web/src/lib/api.ts: hook renamed useThrottle -> useDebounce in
@e2e/utils; fix import and useSearchDebounce re-export.
- packages/utils/src/format/date.ts: formatDate used en-AU which hard-pads
the day (01/03/2024); switch to en-GB numeric day (1/03/2024).
- tsconfig.json: add bun-types to compilerOptions.types to resolve
'Cannot find module bun:test'.
- Button.tsx: always emit an accessible name via aria-label for icon-only
buttons, with a dev warning when none is supplied (WCAG 4.1.2).
- DataTable.tsx: unify sortKey/sortDir into one state object updated via a
single functional updater, fixing the stale-closure sort toggle.
No test files or dependencies changed. bun test: 13/13 pass; tsc --noEmit clean.
0 commit comments