Fork me on GitHub
#babashka
<
2022-02-28
>
Steffen Glückselig07:02:47

I am trying to incorporate fudje (https://github.com/jimpil/fudje) for testing:

(require '[babashka.deps :as deps])
  (deps/add-deps '{:deps {fudje/fudje {:mvn/version "0.9.7"}}})
  (require '[fudje
             [core :refer [mocking in-background]]
             [sweet :refer :all]])
But I get: Could not resolve symbol: *assert* ... clojure/math/combinatorics.clj:94:9 May `*assert*` not be provided in babashka?

1
borkdude07:02:34

Yes, issue welcome

borkdude07:02:37

There is a workaround for this using intern, I'll post it later

borkdude08:02:12

Upgrading clojure math combinatorics gets rid of this problem.

$ bb -cp $(clojure -Sdeps '{:deps {fudje/fudje {:mvn/version "0.9.7"} org.clojure/math.combinatorics {:mvn/version "0.1.6"}}}' -Spath) -e "(require '[fudje.core])"
but unfortunately the library relies heavily on deftype which isn't supported currently in bb