fix: resolve all failing tests across monorepo packages#14
Open
stooit wants to merge 1 commit into
Open
Conversation
- Fix renamed hook: export useDebounce as useSearchDebounce from @e2e/utils - Fix api.ts import to use useDebounce instead of removed useThrottle - Add aria-label passthrough to Button component for accessibility - Fix DataTable stale closure bug in sort handler using functional updater - Fix date formatting to use non-zero-padded day format (en-AU locale) - Configure happy-dom preload in root bunfig.toml for DOM test environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
useDebounceasuseSearchDebouncefrom@e2e/utilsand fix the import inapps/web/src/lib/api.ts(was importing removeduseThrottle)aria-labelprop through to the rendered button elementd/MM/yyyystyle via en-AU locale options)happy-dompreload in rootbunfig.tomlso UI tests have access todocument/windowVerification
All 13 tests pass (
bun test). TypeScript compiles cleanly (npx tsc --noEmit— only expectedbun:testmodule resolution warnings remain since it's a runtime-only module).Assumptions
bun:testTS2307 errors are expected/acceptable sincebun:testis not a real npm package