Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/hyperfiddle/rcf.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ convenience, defaults to println outside of tests context."}
(when-some [file (resolve-file env ns-sym)]
(str/starts-with? (.getPath file) current-dir)))))

(defmacro tests [& body]
(defmacro tests
{:style/indent 1}
[& body]
(let [body `(~@body nil) ; return nil like comment, unlike do
name (gen-name &form)
ns (if (:js-globals &env)
Expand Down