Skip to content

Commit

Permalink
Merge pull request #79 from borkdude/bb-tests-take-two
Browse files Browse the repository at this point in the history
Babashka support: replace raw ns interop with ns-name
  • Loading branch information
dustingetz committed Jul 20, 2023
2 parents 4718049 + c335dcf commit 7105b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperfiddle/rcf.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ convenience, defaults to println outside of tests context."}
(let [name (gen-name &form)
ns (if (:js-globals &env)
(:name (:ns &env))
(:ns &env (.getName *ns*)))]
(:ns &env (ns-name *ns*)))]
(cond
(and *generate-tests* (is-ns-in-current-project? &env ns)) `(deftest ~name ~@body)
*enabled* (if (:js-globals &env)
Expand Down

0 comments on commit 7105b43

Please sign in to comment.