lvh / icecap

URL-based object capability system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write tests for delay handler

lvh opened this issue · comments

commented

The obvious way to implement the delay step handler is with clojure.core.async.timeout. However, it's not clear what the best way to test that is. Clearly the tests shouldn't actually be waiting. Maybe it's with some redefs.

commented

Looks like you do that with with-redefs, or even with-redefs-fn.