From 4ea070d15a50c5fcee8dee526b79db9e6c8dd6aa Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Sat, 11 Mar 2017 01:56:39 +0200 Subject: [PATCH] Add test to validate that style properties with dashes work --- test/reagenttest/testreagent.cljs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/reagenttest/testreagent.cljs b/test/reagenttest/testreagent.cljs index 81e4a9b..f49955e 100644 --- a/test/reagenttest/testreagent.cljs +++ b/test/reagenttest/testreagent.cljs @@ -1019,3 +1019,8 @@ (r/flush) (is (= @spy 0)))) (is (= @node nil)))) + +(deftest style-property-names-are-camel-cased + (is (= "
foo
" + (server/render-to-static-markup + [:div {:style {:text-align "center"}} "foo"]))))