Skip to content

test: cover formatJoinDate edge cases - #45

Merged
FrankezeCode merged 1 commit into
BetterDevOrg:mainfrom
lntutor:feat/format-join-date-tests
Aug 2, 2026
Merged

test: cover formatJoinDate edge cases#45
FrankezeCode merged 1 commit into
BetterDevOrg:mainfrom
lntutor:feat/format-join-date-tests

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds named tests for formatJoinDate covering:

  • valid ISO input
  • invalid input fallback
  • empty input
  • ISO input with a timezone offset

Related issue

Fixes #38

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Other: tests

How to test

  1. Run npx tsx --test test/FormatDate.ts.
  2. Confirm all four cases pass.

Checklist

  • I ran npm run build (the current main branch has unrelated lint errors in meetup pages)
  • I did not commit secrets or .env.local
  • I read CONTRIBUTING.md

@lntutor

lntutor commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Current head 41abc9f is mergeable, and I do not see any unresolved review threads or contributor-side follow-up remaining on the current PR state. This looks ready for maintainer review when someone has a chance.

@FrankezeCode FrankezeCode left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lntutor This is awesome 💯 , thanks for contributing 👍

@FrankezeCode
FrankezeCode merged commit bf53b67 into BetterDevOrg:main Aug 2, 2026
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.

[Good first issue]: Add unit tests for formatJoinDate

2 participants