cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
zendevil 2021-01-09T02:54:47.026400Z

How to run cljs tests in cider?

zendevil 2021-01-09T02:55:05.026700Z

I’ve the following file:

zendevil 2021-01-09T02:55:05.026900Z

(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)

zendevil 2021-01-09T02:55:16.027200Z

and want to run test with cider