9 lines
294 B
Clojure
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]]))))
|