                                                                          (close! ch)))
                                                        (.on rs "error" (fn [err] (prn err)))
                                                        ch)))]
-               ;; TODO on-pipe callback 
                (is (= (<! (k/get-in store [:foo]))
                       nil))
                (<! (k/assoc-in store [:foo] :bar))


(enable-console-print!)

(defmethod cljs.test/report [:cljs.test/default :end-run-tests] [m]
  (if (cljs.test/successful? m)
    (println "Success!")
    (println "FAIL")))

(use-fixtures :once
  {:before
   (fn []
     (async done
            (go (delete-store "/tmp/konserve-fs-nodejs-test")
                (def store (<! (new-fs-store "/tmp/konserve-fs-nodejs-test")))
                (done))))
   :after
   #(do (prn "DONE"))})

(deftest filestore-test
  (testing "Test the file store functionality."

                        #{})))
               (done))))))


(run-tests)
