mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 02:44:50 +01:00
The waitForCapabilityLiveProcess helper had no direct test. Add tests for a first-attempt success, a retry after a thrown error, a deadline failure that carries the last observed error as its cause, and a deadline failure when the callback never settles. The tests use fake timers, so they run in milliseconds instead of the real 10,000 ms deadline. Co-authored-by: Paperclip <noreply@paperclip.ing>