mirror of
https://github.com/metosin/reitit.git
synced 2026-01-20 13:09:01 +00:00
test just clj with http
This commit is contained in:
parent
ab3c70b09f
commit
a53981d597
1 changed files with 2 additions and 3 deletions
|
|
@ -1,13 +1,12 @@
|
|||
(ns reitit.http-test
|
||||
"just Clojure before Sieppari is ported into cljs"
|
||||
(:require [clojure.test :refer [deftest testing is]]
|
||||
[clojure.set :as set]
|
||||
[reitit.interceptor :as interceptor]
|
||||
[reitit.interceptor.sieppari :as sieppari]
|
||||
[reitit.http :as http]
|
||||
[reitit.ring :as ring]
|
||||
[reitit.core :as r])
|
||||
#?(:clj
|
||||
(:import (clojure.lang ExceptionInfo))))
|
||||
[reitit.core :as r]))
|
||||
|
||||
(defn interceptor [name]
|
||||
{:enter (fn [ctx] (update-in ctx [:request ::i] (fnil conj []) name))})
|
||||
Loading…
Reference in a new issue