Fix (cljs) tests

This commit is contained in:
Tommi Reiman 2017-12-05 08:58:55 +02:00
parent 5fdaf609c2
commit 4b3a4110ab

View file

@ -113,7 +113,7 @@
(testing "too deeply compiled Middleware fails"
(binding [middleware/*max-compile-depth* 2]
(is (thrown? Exception (->app [[(middleware/create mw3) :value]] identity)))))
(is (thrown? ExceptionInfo (->app [[(middleware/create mw3) :value]] identity)))))
(testing "nil unmounts the middleware"
(let [app (->app [{:compile (constantly nil)}