diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-21 20:48:06 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-21 20:48:06 -0500 |
| commit | b19b0093ef23cbffa9de419313c64e72e35488b5 (patch) | |
| tree | 5d9b5e72f9b869ca0f7b746ff6ba66112ec8821f /.github | |
| parent | 68c899a69c2f36250caffd179efa780a159fc475 (diff) | |
| download | chime-b19b0093ef23cbffa9de419313c64e72e35488b5.tar.gz chime-b19b0093ef23cbffa9de419313c64e72e35488b5.zip | |
test: add unit tests for chime--render-modeline-string
Five tests covering Normal and Boundary cases.
Normal: SOONEST branch applies chime-modeline-format to the event-text. Normal: no SOONEST plus UPCOMING binds mouse-1 (open calendar) and mouse-3 (jump to event). Normal: no SOONEST and no UPCOMING binds only mouse-1, and the tooltip is the no-events message.
Boundary: returns nil when no SOONEST and chime-modeline-no-events-text is nil. Boundary: SOONEST branch renders regardless of whether chime-modeline-no-events-text is set.
The orchestrator chime--update-modeline already exercises these paths via test-chime-update-modeline.el. These direct unit tests give the helper its own coverage.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
