Skip to content

Instantly share code, notes, and snippets.

@darkleaf
Created December 28, 2019 17:28
Show Gist options
  • Save darkleaf/2f7c21afd91e789a36bff1fd2e04a66e to your computer and use it in GitHub Desktop.
Save darkleaf/2f7c21afd91e789a36bff1fd2e04a66e to your computer and use it in GitHub Desktop.
;; (t/deftest x1
;; (let [f (fn [a b]
;; (js/setTimeout a 0))]
;; (t/async done
;; (let [x (fn []
;; (t/is (= 1 1))
;; (done)
;; (prn :foo))]
;; (f x x)))))
;; (t/deftest x2
;; (let [f (fn [a b]
;; (js/setTimeout a 0))]
;; (t/async done
;; (let [x (fn []
;; (t/is (= 1 1))
;; (done)
;; (prn :foo))]
;; (f x x)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment