aboutsummaryrefslogtreecommitdiff
path: root/modules/auth-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-16 18:16:38 -0600
committerCraig Jennings <c@cjennings.net>2025-11-16 18:16:38 -0600
commit2806ce3e92d7a90bc5210b5dc9c85c9d4a20ad8c (patch)
tree58450b3b619b02402cdf6679d298314dfb0a639c /modules/auth-config.el
parent50373964f63b955a1d195c682f6915abe308fc7d (diff)
downloaddotemacs-2806ce3e92d7a90bc5210b5dc9c85c9d4a20ad8c.tar.gz
dotemacs-2806ce3e92d7a90bc5210b5dc9c85c9d4a20ad8c.zip
test(calendar-sync): Add unit tests for UTC conversion function
Added 5 dedicated unit tests for calendar-sync--convert-utc-to-local function that was extracted during refactoring: - test-calendar-sync--convert-utc-to-local-basic-conversion Tests standard UTC to local time conversion - test-calendar-sync--convert-utc-to-local-midnight-boundary Tests day boundary handling (UTC midnight → previous day in some timezones) - test-calendar-sync--convert-utc-to-local-preserves-minutes Verifies minute component preservation during conversion - test-calendar-sync--convert-utc-to-local-returns-five-elements Validates return format and element types - test-calendar-sync--convert-utc-to-local-end-of-day Tests near end-of-day conversion (potential rollover to next day) Test coverage increased from 51 to 56 tests, all passing. The extracted function now has both direct unit tests (isolation) and indirect integration tests (via calendar-sync--parse-timestamp).
Diffstat (limited to 'modules/auth-config.el')
0 files changed, 0 insertions, 0 deletions