From 4d2079380ca460cb13935314e7c379bc45154961 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Fri, 19 Aug 2016 09:13:57 -0700 Subject: [PATCH] Define deftest-db to do async testing with an open DB. --- src/datomish/test_macros.cljc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/datomish/test_macros.cljc b/src/datomish/test_macros.cljc index 989e852a..bf50d1a4 100644 --- a/src/datomish/test_macros.cljc +++ b/src/datomish/test_macros.cljc @@ -4,7 +4,9 @@ (ns datomish.test-macros #?(:cljs - (:require-macros [datomish.test-macros])) + (:require-macros + [datomish.test-macros] + [datomish.node-tempfile-macros])) (:require [datomish.pair-chan])) @@ -38,3 +40,20 @@ (let [[v# e#] (clojure.core.async/