Skip to content

fix: make all tests pass - #359

Open
stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier1-2378-1790612538
Open

stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier1-2378-1790612538

Conversation

@stooit

@stooit stooit commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Fixes all 16 failing tests: divide-by-zero throws; truncate implemented and wordCount splits on any whitespace; formatRelative uses Math.round for days; isEmail accepts subdomains/long TLDs and isUrl accepts ports; TaskManager remove/update/sortBy implemented.

Verification: bun test 60/0, tsc --noEmit clean. No test files or dependencies changed.

Assumptions: only behaviour the tests require was changed. Edge cases the tests don't cover (the .5-day rounding asymmetry, negative maxLength, update not clearing description) were left as is.

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