mirror of
https://github.com/metosin/reitit.git
synced 2026-02-04 11:23:14 +00:00
Fix (cljs) tests
This commit is contained in:
parent
5fdaf609c2
commit
4b3a4110ab
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
(testing "too deeply compiled Middleware fails"
|
(testing "too deeply compiled Middleware fails"
|
||||||
(binding [middleware/*max-compile-depth* 2]
|
(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"
|
(testing "nil unmounts the middleware"
|
||||||
(let [app (->app [{:compile (constantly nil)}
|
(let [app (->app [{:compile (constantly nil)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue