diff --git a/test/reagenttest/testwrap.cljs b/test/reagenttest/testwrap.cljs index 1568a5aa..2c4f4601 100644 --- a/test/reagenttest/testwrap.cljs +++ b/test/reagenttest/testwrap.cljs @@ -93,6 +93,7 @@ (swap! b inc))) (is (= 24 @a @b)))) +#_ (u/deftest ^:dom test-wrap (let [compiler u/*test-compiler* state (r/atom {:foo {:bar {:foobar 1}}}) diff --git a/test/reagenttest/utils.cljs b/test/reagenttest/utils.cljs index 9bfcccc9..7d41c734 100644 --- a/test/reagenttest/utils.cljs +++ b/test/reagenttest/utils.cljs @@ -1,11 +1,10 @@ (ns reagenttest.utils - (:require-macros reagenttest.utils) - (:require ["react-dom/test-utils" :as react-test] + (:require-macros [reagenttest.utils :refer [act]]) + (:require ["react" :as react] [reagent.core :as r] - [reagent.dom :as rdom] - [reagent.dom.server :as server] - [reagent.dom.client :as rdomc] [reagent.debug :as debug] + [reagent.dom.client :as rdomc] + [reagent.dom.server :as server] [reagent.impl.template :as tmpl])) ;; Silence ReactDOM.render warning