From fe4f348f129c483ac305be6717ccf1c27b5d64aa Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Fri, 4 May 2018 19:25:34 +0300 Subject: [PATCH] Test not= exception for dev builds only Logging is not enabled for optimized builds --- test/reagenttest/testreagent.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/reagenttest/testreagent.cljs b/test/reagenttest/testreagent.cljs index e668043..7c74e19 100644 --- a/test/reagenttest/testreagent.cljs +++ b/test/reagenttest/testreagent.cljs @@ -1241,7 +1241,7 @@ component (fn [] [component-class @prop])] - (when isClient + (when (and isClient (dev?)) (let [e (debug/track-warnings #(with-mounted-component [component] (fn [c div]