diff options
Diffstat (limited to 'test/dompa/coordinates_test.cljc')
| -rw-r--r-- | test/dompa/coordinates_test.cljc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/dompa/coordinates_test.cljc b/test/dompa/coordinates_test.cljc index 85a4518..79248e3 100644 --- a/test/dompa/coordinates_test.cljc +++ b/test/dompa/coordinates_test.cljc @@ -107,6 +107,14 @@ coordinates/compose coordinates/unify coordinates/->nodes)))) + + (testing "Create nodes from self-closing tags" + (is (= [{:node/name :hr + :node/attrs {}}] + (-> "<hr />" + coordinates/compose + coordinates/unify + coordinates/->nodes)))) (testing "Create nodes with attributes" (is (= [{:node/name :div |
