Matt <m...@excalamus.com> writes:

> Checking the final result from the callback is trickier.   The following 
> works, but requires advice (which could potentially persist beyond the test) 
> and a delay (which slows testing overall and whose duration likely depends on 
> the hardware the test runs on).  Without the delay, I could not get the 
> callback to execute within the test.  It would execute when running manually 
> in an Org buffer, however.  I'm not sure why. 

Doesn't (while ... (sleep-for ...)) work?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to