mirror of https://github.com/status-im/reagent.git
Add test to validate that style properties with dashes work
This commit is contained in:
parent
50b5ad30e5
commit
4ea070d15a
|
@ -1019,3 +1019,8 @@
|
|||
(r/flush)
|
||||
(is (= @spy 0))))
|
||||
(is (= @node nil))))
|
||||
|
||||
(deftest style-property-names-are-camel-cased
|
||||
(is (= "<div style=\"text-align:center;\">foo</div>"
|
||||
(server/render-to-static-markup
|
||||
[:div {:style {:text-align "center"}} "foo"]))))
|
||||
|
|
Loading…
Reference in New Issue