diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-22 06:24:57 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-22 06:24:57 -0500 |
| commit | 77b5e8c80b56ffcccb2a44807e15d933f22edb05 (patch) | |
| tree | 8f9c885fb8d08033e9e43a8b458083fe54e06ff5 /chime.el | |
| parent | c0a96481c78b790666fe2d6b1a7fa9b652f02343 (diff) | |
| download | chime-77b5e8c80b56ffcccb2a44807e15d933f22edb05.tar.gz chime-77b5e8c80b56ffcccb2a44807e15d933f22edb05.zip | |
test: add unit tests for async result helpers
Eight tests in a new file covering Normal and Boundary cases for both new helpers.
chime--record-async-failure increments the consecutive-failure counter, sets chime-modeline-string to the standard error tooltip, triggers the threshold warning when the counter hits chime-max-consecutive-failures, and leaves chime-modeline-string alone when chime-modeline-no-events-text is nil.
chime--handle-async-success resets the counter from non-zero to zero, invokes the callback with the events list, works with an empty events list, and is a no-op on the counter when it already starts at zero.
Diffstat (limited to 'chime.el')
0 files changed, 0 insertions, 0 deletions
