Fork me on GitHub
#cider
<
2021-01-09
>
zendevil02:01:47

How to run cljs tests in cider?

zendevil02:01:05

I’ve the following file:

zendevil02:01:05

(ns humboi.core
(:require [humboi.core :as sut]
            ["@testing-library/react-native" :refer [render fireEvent]]
            [humboi.auth.core :refer [google-sign-in-comp]]
            [cljs.test :as t :include-macros true]))

(defn mount! [component]
  (render (r/as-element component)
          #js {:container (testing-container)}))

(deftest google-login-test
  (is (mount! [google-sign-in-comp])))

(cljs.test/run-tests)

zendevil02:01:16

and want to run test with cider