kaocha-cljs
kaocha-cljs copied to clipboard
ClojureScript support for Kaocha
Currently, if a test throws an exception, every line of the stack trace refers to a `.js` file. It would be more useful if stack traces referred to the original...
This is strictly an upstream issue, but posting it here since people might run into it and come looking for a solution. https://clojure.atlassian.net/browse/CLJS-3097 Long story short: tools.reader changed the two-arity...
Not an issue. Just something that took me long enough to realize that I thought it worth writing down. When there's no index.html in `./` or `out/`, the repl index...
In my experience, tests using `kaocha-cljs` sometimes fail because it can't connect successfully to the ClojureScript client. This is particularly problematic on CI, as it causes PR test runs to...
#### Description :octocat: Running kaocha-cljs on a project generated from the [fighwheel-main template](https://github.com/bhauman/figwheel-template) fails, with `cljs repl - document is not defined` error. ``` "Execution error (ReferenceError) at (:1).\ndocument is...
Start of fixes to allow kaocha-cljs tests to work correctly on Windows: - [ ] Fix remaining tests (will fill in when I'm on Windows) - [ ] Add Windows...
I'm trying to run Clojurescript tests with `lambdaisland/kaocha-cljs`. But the run fails when trying to run my mainline code, which calls the `firebase-admin` npm library. The compiler can't find the...
Hi! Thanks for Kaocha, it’s very friendly and finally our Travis CI logs make sense :slightly_smiling_face: I was looking at Kaocha-cljs, but I’d like to integrate it with shadow-cljs somehow,...
With [deps.edn](https://github.com/markdingram/npm-deps-kaocha/blob/master/deps.edn) & [tests.edn](https://github.com/markdingram/npm-deps-kaocha/blob/master/tests.edn) as follows ``` {:deps {org.clojure/clojure {:mvn/version "1.10.1"} org.clojure/clojurescript {:mvn/version "1.10.520"} lambdaisland/kaocha {:mvn/version "0.0-554"} lambdaisland/kaocha-cljs {:mvn/version "0.0-59"}} :paths ["src" "resources" "test/cljs"] ``` ``` #kaocha/v1 {:bindings {kaocha.type.cljs/*debug* true}...
Repro: ``` $ cat deps.edn {:aliases {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "0.0-389"} lambdaisland/kaocha-cljs {:mvn/version "0.0-16"}}}}} $ cat tests.edn #kaocha/v1 {:tests [{:id :unit-cljs :type :kaocha.type/cljs}]} $ cat test/repro/core_test.cljs (ns repro.core-test (:require [clojure.test...