Skip to content

chore(test): add idependent tests for time util component - #47

Open
devcavin wants to merge 1 commit into
mainfrom
tests/time-util
Open

devcavin wants to merge 1 commit into
mainfrom
tests/time-util

Conversation

@devcavin

Copy link
Copy Markdown
Owner

Introduced a new test class for the TimeUtil utility, specifically targeting the isOvernight function. The tests cover scenarios to verify whether a check-in time is considered "overnight" relative to the current time.

  • Test cases include:
    • Check-in time from yesterday vs. now (should be overnight).
    • Check-in time from today vs. now (should not be overnight).
    • Check-in time from the previous day just before midnight vs. just after midnight (should be overnight).

This branch has not been deployed

No deployments
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