mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
Less config for the test
This commit is contained in:
parent
37deaa3b9e
commit
fdca962d60
1 changed files with 1 additions and 5 deletions
|
|
@ -33,11 +33,7 @@
|
||||||
{:interceptors [{:name :nop} (exception/exception-interceptor)]}
|
{:interceptors [{:name :nop} (exception/exception-interceptor)]}
|
||||||
["/ok" (fn [_] {:status 200, :body "ok"})]
|
["/ok" (fn [_] {:status 200, :body "ok"})]
|
||||||
["/fail" (fn [_] (throw (ex-info "kosh" {})))]]))
|
["/fail" (fn [_] (throw (ex-info "kosh" {})))]]))
|
||||||
service (-> {:env :dev
|
service (-> {:io.pedestal.http/request-logger nil
|
||||||
:io.pedestal.http/type :jetty
|
|
||||||
:io.pedestal.http/port 3000
|
|
||||||
:io.pedestal.http/join? false
|
|
||||||
:io.pedestal.http/request-logger nil
|
|
||||||
:io.pedestal.http/routes []}
|
:io.pedestal.http/routes []}
|
||||||
(io.pedestal.http/default-interceptors)
|
(io.pedestal.http/default-interceptors)
|
||||||
(pedestal/replace-last-interceptor router)
|
(pedestal/replace-last-interceptor router)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue