<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chime/tests/test-chime-async-helpers.el, branch v0.7.0</title>
<subtitle>Emacs chimes, notifications, and modeline reminders so you don't miss events
</subtitle>
<id>https://git.cjennings.net/chime/atom?h=v0.7.0</id>
<link rel='self' href='https://git.cjennings.net/chime/atom?h=v0.7.0'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/'/>
<updated>2026-04-22T11:24:57+00:00</updated>
<entry>
<title>test: add unit tests for async result helpers</title>
<updated>2026-04-22T11:24:57+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-22T11:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=77b5e8c80b56ffcccb2a44807e15d933f22edb05'/>
<id>urn:sha1:77b5e8c80b56ffcccb2a44807e15d933f22edb05</id>
<content type='text'>
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.
</content>
</entry>
</feed>
