mirror of
https://github.com/metosin/reitit.git
synced 2025-12-30 13:18:25 +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"
|
||||
(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)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue