three-cljs-playground/test/three_playground/core_test.cljs

9 lines
294 B
Plaintext
Raw Normal View History

(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]]))))