![Nick Alexander](/assets/img/avatar_default.png)
Some of these were just typos, but `with-open` was fatally flawed on CLJS (we couldn't call `.close` at all), and `deftest-async` was hiding all failures (due to a typo).
18 lines
552 B
Clojure
18 lines
552 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
(ns datomish.test-macros-test
|
|
(:require-macros
|
|
[datomish.pair-chan :refer [go-pair]]
|
|
[cljs.core.async.macros])
|
|
(:require
|
|
[datomish.test-macros :refer-macros [deftest-async]]
|
|
[cljs.core.async]
|
|
[cljs.test :refer-macros [is are deftest testing async]]))
|
|
|
|
(deftest sync-test
|
|
(is (= 1 1)))
|
|
|
|
(deftest-async async-test
|
|
(is (= 1 1)))
|