From 41ec2a37988e863c36e5088c89bf29c943ee7986 Mon Sep 17 00:00:00 2001 From: hipitihop Date: Wed, 8 Mar 2017 17:42:05 +1000 Subject: [PATCH] Fix testing cofx refers to random when explaining `now` --- docs/Coeffects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Coeffects.md b/docs/Coeffects.md index 63f561a..0719e88 100644 --- a/docs/Coeffects.md +++ b/docs/Coeffects.md @@ -233,7 +233,7 @@ registration functions and have them auto insert the DataScript connection. During testing, you may want to stub out certain coeffects. You may, for example, want to test that an event handler works -using a specific `now`, not a true random number. +using a specific `now`. In your test, you'd mock out the cofx handler: ```clj