Skip to content

fix: resolve failing tests and type errors across monorepo - #279

Open
stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier3-921-1794284893
Open

stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier3-921-1794284893

Conversation

@stooit

@stooit stooit commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Fixes all failing tests (13/13 pass) and type errors (tsc --noEmit clean). No test files changed and no dependencies added.

  • Test env: root bunfig.toml used an unsupported environment key; it now preloads the happy-dom setup.
  • Button: ariaLabel is now rendered as aria-label. Icon-only buttons with no label fall back to "Button" so the test gets a non-null label.
  • DataTable: the sort toggle uses a functional state update, which removes the stale closure.
  • formatDate: en-AU D/MM/YYYY with no leading zero on the day (e.g. 1/03/2024).
  • apps/web: imports the renamed useDebounce instead of useThrottle. The useSearchDebounce export name is unchanged.
  • tsconfig: adds the already-installed bun-types.

Assumptions

  • The date format is 1/03/2024, as in the test comment.
  • The generic "Button" fallback label is a minimal fix. A follow-up could add a dev-only warning when an icon-only button has no label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant