React validates aria properties, if using Node module

This commit is contained in:
Juho Teperi 2017-10-12 16:14:46 +03:00
parent 3f4a421f14
commit 6dc26c9cf0
1 changed files with 2 additions and 2 deletions

View File

@ -282,8 +282,8 @@
(deftest data-aria-test []
(is (re-find #"data-foo"
(as-string [:div {:data-foo "x"}])))
(is (re-find #"aria-foo"
(as-string [:div {:aria-foo "x"}])))
(is (re-find #"aria-labelledby"
(as-string [:div {:aria-labelledby "x"}])))
;; Skip test: produces warning in new React
;; (is (not (re-find #"enctype"
;; (as-string [:div {"enc-type" "x"}])))