three-cljs-playground/test/three_playground/core_test.cljs
2019-11-08 23:34:45 -05:00

9 lines
294 B
Clojure

(ns three-playground.core-test
(:require [cljs.test :refer-macros [deftest testing is]]
[three-playground.core :as core]))
(deftest test-map->paths
(testing "Basic case"
(is (= (core/map->paths {:foo {:bar 1 :baz 2} :qux 3})
[[:foo :bar] [:foo :baz] [:qux]]))))